[postgis-devel] [PostGIS] #516: Windows installer: Allow multiple DB authentication attempts (rather than failing to install)
PostGIS
trac at osgeo.org
Mon May 3 17:26:42 PDT 2010
#516: Windows installer: Allow multiple DB authentication attempts (rather than
failing to install)
-----------------------------+----------------------------------------------
Reporter: mwtoews | Owner: pramsey
Type: enhancement | Status: new
Priority: low | Milestone: PostGIS 1.5.2
Component: postgis | Version: 1.5.X
Keywords: win32-installer |
-----------------------------+----------------------------------------------
When installing PostGIS on Microsoft Windows, the installer shows a
"Database Connection Information" dialog to supply User Name, Password,
and Port. The installer will begin to install PostGIS, however, if there
is a mistake in the connection information, the installer fails part-way
in, requiring it to be run again from the beginning.
It would be nice to allow multiple attempts to correct the connection
information, if say, there was a typo with the password. This way the
installer only needs to be run once (for example, using Application Stack
Builder, which downloads the installer to {{{%TEMP%}}}).
Not only should the connection info establish a connection to a database,
but {{{select count(*)=1 from pg_user where usename=$1 and
usecreatedb;}}}. If there is an error, the user should be able to go back
and correct, try again, repeat or cancel. Correct connection info should
be established before starting the install process.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/516>
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