Ticket #962 (closed defect: fixed)
Postgresql field count wrong
| Reported by: | cfis@… | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | 1.6.1 |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Load tiger data into schema A in a postgres database. Load tiger data into schema B in a postgres database. The next time ogr connect to postgresql it will double the number of fields for each table - say entitynames. The right solution is for each Postgresql layer know which schema it belongs to and then add that to the SELECT statement at line 271 of ogrpgtablelayer. The quick hack solution is to add DISTINCT to the select statement. I have checked the quick hack in.
Change History
Note: See
TracTickets for help on using
tickets.
