Re: validate synatax - Mailing list pgsql-general

From Szymon Guz
Subject Re: validate synatax
Date
Msg-id CAFjNrYtw_2L-iN87KybB33i87D8_jYPsbKj=UvS8cWX=Qn4HpQ@mail.gmail.com
Whole thread Raw
In response to Re: validate synatax  (Peter Kroon <plakroon@gmail.com>)
List pgsql-general



On 11 December 2013 15:35, Peter Kroon <plakroon@gmail.com> wrote:
Perhaps creating a temporary table would be more efficient.
Then the rollback isn't necessary.   



Yep, but only if you're sure that you don't have queries which change other parts of the database, including calling procedures which could change data or structure. That's why I like the fact that even DDLs are transactional in Postgres :)

Szymon

pgsql-general by date:

Previous
From: Peter Kroon
Date:
Subject: Re: validate synatax
Next
From: Dev Kumkar
Date:
Subject: Re: [ADMIN] Scheduled Events