pramsey / pgsql-ogr-fdw

PostgreSQL foreign data wrapper for OGR
MIT License
237 stars 34 forks source link

-f flag requires an argument #227

Closed arenius closed 1 year ago

arenius commented 2 years ago

The documentation states:

ogr_fdw_info -f

Supported Formats: -> "PCIDSK" (read/write) -> "netCDF" (read/write) ... -> "HTTP" (readonly)

However, when I run ogr_fdw_info -f the output is:

ogr_fdw_info: option requires an argument -- 'f' usage: ogr_fdw_info -s -l -i <ogr layer index (numeric)> -t -n -o ogr_fdw_info -s usage: ogr_fdw_info -f Show what input file formats are supported.

note (1): You can specify either -l (layer name) or -i (layer index) if you specify both -l will be used note (2): config options are specified as a comma deliminated list without the OGR prefix so OGR_XLSX_HEADERS = FORCE OGR_XLSX_FIELD_TYPES = STRING would become: "HEADERS = FORCE,FIELD_TYPES = STRING"

I'm running on Ubuntu 20.04.3 LTS with PostgreSQL 11 from the PostgreSQL repository. I've tried with a version installed via apt and with a version I've compiled myself.

robe2 commented 1 year ago

@pramsey Sounds like you already fixed this. Is there more to do here?