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

From Magnus Hagander
Subject Re: BUG #3059: psql to 'postgres' shortcut
Date
Msg-id 20070227142357.GA19595@svr2.hagander.net
Whole thread Raw
In response to Re: BUG #3059: psql to 'postgres' shortcut  (Phil Frost <phil@macprofessionals.com>)
Responses Re: BUG #3059: psql to 'postgres' shortcut  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
On Tue, Feb 27, 2007 at 09:06:17AM -0500, Phil Frost wrote:
> Hrm...I haven't used windows for a while now, but isn't there an
> option on all shortcuts to command-line programs to make the shell
> pause on exit? It is something like, right click on shortcut, select
> 'properties', uncheck 'close shell on exit'. It would seem this would
> solve the problem of not being able to see errors, while also not
> adding a pause for programs which execute psql.bat directly.

Yes, that is exactly the point -it would be very annoying in all other
cases, as Bruce pointed out.

I guess another option would be to add a commandline option to psql to
pause on error, but I don't think that's going to fly ;-)

//Magnus

pgsql-bugs by date:

Previous
From: Phil Frost
Date:
Subject: Re: BUG #3059: psql to 'postgres' shortcut
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #3059: psql to 'postgres' shortcut