[postgis-devel] Re: [PostGIS] #100: postgis_restore.pl createdb option wrong usage
PostGIS
trac at osgeo.org
Thu Jun 11 12:26:30 PDT 2009
#100: postgis_restore.pl createdb option wrong usage
-----------------------+----------------------------------------------------
Reporter: htmledit | Owner: pramsey
Type: task | Status: assigned
Priority: medium | Milestone: postgis 1.4.1
Component: postgis | Version: 1.4.X
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Changes (by pramsey):
* status: new => assigned
* owner: => pramsey
* version: => 1.4.X
* milestone: => postgis 1.4.1
Old description:
> 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
> 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.
New description:
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
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.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/100#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list