[postgis-devel] [PostGIS] #398: pgsql2shp should prompt for password if not supplied in command args

PostGIS trac at osgeo.org
Wed Feb 8 13:09:58 PST 2012


#398: pgsql2shp should prompt for password if not supplied in command args
---------------------------+------------------------------------------------
 Reporter:  mwtoews        |       Owner:  mwtoews      
     Type:  enhancement    |      Status:  new          
 Priority:  medium         |   Milestone:  PostGIS 2.0.0
Component:  loader/dumper  |     Version:               
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by pramsey):

  * owner:  pramsey => mwtoews


Comment:

 I'm finding it hard to work up much enthusiasm for this, particularly as
 it will involve testing on Windows. I did find the sprompt.c file in PgSQL
 and it's easy to copy into our tree. I'll commit the configure test to
 create the #define it likes. After that it looks like the code in psql
 startup.c provides a good template for implementation. Remember to use
 PQconnectionNeedsPassword when testing a failed connection. I'll leave
 this in the 2.0 milestone for a while and then punt it to 2.1.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/398#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list