Re: SQL worksheet - Mailing list pgadmin-support

From Dave Page
Subject Re: SQL worksheet
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B889FB50@mail.vale-housing.co.uk
Whole thread Raw
In response to SQL worksheet  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: SQL worksheet  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgadmin-support

> -----Original Message-----
> From: Peter Eisentraut [mailto:peter_e@gmx.net]
> Sent: 23 April 2004 15:11
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] SQL worksheet
>
> I open the SQL worksheet (icon "pen with SQL"), immediately
> select File -> Quit, then it informs me that there are
> changes and if I want to save them.
> But I didn't change anything.  Is it possible to fix that?

This is the intended behaviour, though I grant you this one is
definitely open to debate. The behaviour you describe occurs when
'StickySQL' is switched on, such that the current statement in the main
form is automatically loaded into the SQL textbox - th theory being that
the copied SQL constitutes a change. When 'StickySQL' is turned off,
this does not occur. Looking at the code this is definitely by design
and not by accident.

The question is, is this correct behaviour? I'm erring on Peter's side
as it seems that the no change option would comply with the principle of
least astonishment...

Any other opinions?

Regards, Dave.


pgadmin-support by date:

Previous
From: Tomasz Kubacki
Date:
Subject: Re: [pgADMIN] Windows - can't type some polish
Next
From: Andreas Pflug
Date:
Subject: Re: SQL worksheet