Ticket #738 (closed defect: fixed)
Incomplete PostgreSQL Adapter
| Reported by: | vaibhav | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1 |
| Component: | Database adapter | Version: | 2.0.2 Stable |
| Keywords: | PostgreSQL, timestamp with time zone | Cc: |
Description
When using the PostgreSQL (currently version 8.4.8) with QCubed, I found that the database reports an error as below.
PostgreSql? Error: Unsupported Field Type: timestamp with time zone
I looked into the code in includes/qcubed/_core/database/QPostgreSqlDatabase.class.php and found that it was actually not supported, indeed.
Since PostgreSQL is one of the MAJOR open source databases and supports the 'timestamp with time zone' datatype, here is the patched file.
The patch is actually of only two lines (one line code, another comment). The lines are 672, 673.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

