BUG #3059: psql to 'postgres' shortcut - Mailing list pgsql-bugs

From Raymond Naseef
Subject BUG #3059: psql to 'postgres' shortcut
Date
Msg-id 200702230315.l1N3Foxo005857@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3059: psql to 'postgres' shortcut
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3059
Logged by:          Raymond Naseef
Email address:      raymondnaseef@yahoo.com
PostgreSQL version: 8.2
Operating system:   Windows XP
Description:        psql to 'postgres' shortcut
Details:

The shortcut to run psql.exe added to the menus is a great think to do, but
when the program stops the window closes with no pause or time delay.

This is a serious issue if the login fails.  Sometimes I forget to start the
server, but I do not know that because I cannot read text in ~0.02 seconds.

BTW, I bet some of your other .bat files have the same issue.

Please run it by doing 1 or other:
1. Putting a "pause" at the end of the batch file.
2. cmd.exe /K "<command line>"
    (just note the "" for default user name will make this fail.  Sorry I do
not know how to fix that unless username has no bad-for-cmd characters in
it, then quotes are not needed)

pgsql-bugs by date:

Previous
From: "Craig White"
Date:
Subject: Re: BUG #3032: Commit hung for days
Next
From: "Keith Turner"
Date:
Subject: Spelling error in 8.1.6-1 Windows Error Dialog typo