Opened 16 years ago
Closed 16 years ago
#2312 closed defect (fixed)
Fixes to Postgres binary cursor mode and improvement/fixes to data types handling
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.0 |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | postgresql |
Cc: | warmerdam |
Description
Will follow a substantial commit that :
- fixes the binary cursor ('PGB:') mode. Especially the wkb parsing, the GetFeature() method, and a more robust approach in RecordToFeature() that checks the OIDs before dereferencing the raw pointer. Date, time and timestamps are implemented (were TODO before). Numeric type is also handled. For date/time/timestamps and numeric deserialization, a few functions have been copied&pasted from PostgreSQL source tree.
- implements/fixes the following datatypes : string list (varchar[], text[], char(1)[]), binary (bytea), bool. In particularly, improves the field type analyzing of the answer to SQL select requests.
ogr_pg.py is going to be extended to test all those cases.
Note:
See TracTickets
for help on using tickets.
Done in r14183 with fixes in a few later revisions