Skip site navigation (1) Skip section navigation (2)

Re: BUG #3059: psql to 'postgres' shortcut

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Raymond Naseef <raymondnaseef(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3059: psql to 'postgres' shortcut
Date: 2007-02-26 14:46:24
Message-ID: 200702261446.l1QEkOF03810@momjian.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Raymond Naseef wrote:
> 
> The following bug has been logged online:
> 
> Bug reference:      3059
> Logged by:          Raymond Naseef
> Email address:      raymondnaseef(at)yahoo(dot)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)
> 

These solutions are going to make psql very annoying when it does work
properly.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2007-02-26 15:21:23
Subject: Re: BUG #2969: Inaccuracies in Solaris FAQ
Previous:From: EugeneDate: 2007-02-26 11:54:33
Subject: BUG #3079: pg_dump doesn't dump datascheme with uppercase letters in

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group