Ticket #100 (closed task: fixed)

Opened 6 years ago

Last modified 5 years ago

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) (diff)

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

Changed 6 years ago by pramsey

  • owner set to pramsey
  • status changed from new to assigned
  • version set to 1.4.X
  • description modified (diff)
  • milestone set to postgis 1.4.1

Changed 5 years ago by pramsey

  • status changed from assigned to closed
  • resolution set to fixed

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.