Re: Enabling SQL text field in the SQL tab of object dialog - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Enabling SQL text field in the SQL tab of object dialog
Date
Msg-id 937d27e10806161312s4d6e6a82r39f333eb13beae9f@mail.gmail.com
Whole thread Raw
In response to Enabling SQL text field in the SQL tab of object dialog  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
On Mon, Jun 16, 2008 at 9:11 PM, Dave Page <dpage@postgresql.org> wrote:

> Hmm, I'd forgotten about that. We do it because it allows us to run
> non-transaction safe DDL in separate transactions (which is required
> in 8.3). Actually, this is not a major issue - all that will happen is
> that the server will reject the SQL in 8.3+ if the user includes no
> transaction safe DDL with other commands (or blindly accept it in
> earlier versions). I say we just split the text control on those two
> dialogues, per option 1.

Hmm, just to add - we could always include a comment in the GetSQL()
output to explain why the first statement is separate from the rest.

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: A fix and a new functionnality for the colour patch
Next
From: "Dave Page"
Date:
Subject: Re: A fix and a new functionnality for the colour patch