Opened 12 years ago

Closed 12 years ago

#4611 closed defect (fixed)

PG driver assuming public schema exists.

Reported by: chaitanya Owned by: chaitanya
Priority: normal Milestone: 1.9.1
Component: OGR_SF Version: unspecified
Severity: normal Keywords: PostgreSQL
Cc: m@…

Description

Martijin reported on gdal-dev list about this error.

mvexel@lima:/osm/tmp/candidates$ ogr2ogr -overwrite -f "ESRI Shapefile" \
 --debug on candidates \
 PG:"dbname=osmus active_schema=us user=osm password=osm" candidates
PG: DBName="osmus"
ERROR 1: ERROR:  invalid value for parameter "search_path": "us, public"
DETAIL:  schema "public" does not exist

Change History (1)

comment:1 by chaitanya, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk (r24260) and 1.9 branch (r24261).

Note: See TracTickets for help on using tickets.