Re: IF EXISTS

From: "Dawid Kuroczko" <qnex42(at)gmail(dot)com>
To: stevethames <steve(at)softlife(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: IF EXISTS
Date: 2006-09-25 09:09:57
Message-ID: 758d5e7f0609250209m4f0c38d8g5d2c8eea7f84ded4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/21/06, stevethames <steve(at)softlife(dot)com> wrote:
>
> Ok, thanks, Jeff.
> This is not a critical problem. Just annoying. I'll wait for 8.2.
> BTW, while I can see the reason for adding the IF EXISTS clause to the
> language for checking the existence of objects, wouldn't it be easier to
> simply provide the PL/PgSQL language for script loading? Then it would be
> possible to create scripts for database maintainance that could be run
> periodically without having to make them functions stored in the database.
> Just a thought.

Or, more importantly, be able to commit within a procedure, i.e.
make a LOOP which will COMMIT every 1000th iteration. Would
be great for scripting maintenance activities.

Regards,
Dawid

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ronin 2006-09-25 09:15:58 hi, what is wrong with my newbie sql?
Previous Message Ralf Wiebicke 2006-09-25 08:14:35 Re: in failed sql transaction