Opened 16 years ago

Closed 15 years ago

#100 closed task (fixed)

postgis_restore.pl createdb option wrong usage

Reported by: htmledit Owned by: pramsey
Priority: medium Milestone: PostGIS 1.4.1
Component: postgis Version: 1.4.X
Keywords: Cc:

Description (last modified by pramsey)

In the Postgis 1.3.5 release, the 'postgis_restore.pl' contrib file allow the user to specify createdb options.

In a recent issue (#45 : http://code.google.com/p/postgis/issues/detail?id=45&can=1&q=postgis_restore.pl), the createdb option was extended to createlang ans psql commands.

Though, createdb/createlang/psql do not accept the same options !

For example if you specify —encoding=LATIN9 for createdb, an error occurs while executing 'createlang —encoding=LATIN9' and 'psql —encoding=LATIN9'…

Maybe we should add more options arguments specific to createlang and psql.

Change History (2)

comment:1 by pramsey, 15 years ago

Description: modified (diff)
Milestone: postgis 1.4.1
Owner: set to pramsey
Status: newassigned
Version: 1.4.X

comment:2 by pramsey, 15 years ago

Resolution: fixed
Status: assignedclosed

Closed out in 1.4 branch at r4747. People who need special connection options are going to have to use environment variables (or provide a patch!)

Note: See TracTickets for help on using tickets.