Ticket #516 (new enhancement)
Windows installer: Allow multiple DB authentication attempts (rather than failing to install)
| Reported by: | mwtoews | Owned by: | robe |
|---|---|---|---|
| Priority: | low | Milestone: | PostGIS Future |
| Component: | build/upgrade/install | Version: | 1.5.X |
| Keywords: | win32-installer | Cc: |
Description
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.
