Ticket #4309 (closed defect: worksforme)
PGDump driver always dumps all columns (ignores -sql option)
| Reported by: | jlivni | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | default | Version: | unspecified |
| Severity: | normal | Keywords: | pgdump, ogr2ogr |
| Cc: | jlivni |
Description
This works as expected (CSV with only the foo column): ogr2ogr -f CSV -sql "select foo from bar" test.csv bar.shp
This does not work as expected (SQL dump includes all columns):
ogr2ogr -f PGDump -sql "select foo from bar" test.sql bar.shp
Change History
Note: See
TracTickets for help on using
tickets.
