Opened 6 years ago

Closed 6 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 Changed 6 years ago by pramsey

  • Description modified (diff)
  • Milestone set to postgis 1.4.1
  • Owner set to pramsey
  • Status changed from new to assigned
  • Version set to 1.4.X

comment:2 Changed 6 years ago by pramsey

  • Resolution set to fixed
  • Status changed from assigned to closed

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.