Search Postgresql Archives

Re: Transaction Handling in pl/pgsql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a stack. That has answered by question.

Craig


----- Original Message ----- 
From: "Douglas McNaught" <doug@xxxxxxxxxxxx>
To: "Craig Bryden" <postgresql@xxxxxxxxxxxx>
Cc: "pgsql" <pgsql-general@xxxxxxxxxxxxxx>
Sent: Tuesday, July 12, 2005 8:46 PM
Subject: Re:  Transaction Handling in pl/pgsql


> "Craig Bryden" <postgresql@xxxxxxxxxxxx> writes:
>
> > OK. I have read that. The part that sticks out is "A block containing an
> > EXCEPTION clause is significantly more expensive to enter and exit than
a
> > block without one. Therefore, don't use EXCEPTION without need. ".
> > Performance is paramount to me.
> >
> > If I ommit the EXCEPTION clause will all the statements still be rolled
back
> > if an error occurs?
>
> Yes, if you don't use EXCEPTION clauses the behavior is the same as
> previous versions.
>
> -Doug
>
>


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux