> BEGIN
>
> DELETE FROM .
>
> EXCEPTION
>WHEN others THEN
> ...
> END;
>
> documentation:
> http://www.postgresql.org/docs/current/static/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING
>
> a list of errors:
> http://www.postgresql.org/docs/cur
On Wed, Jan 11, 2006 at 03:40:22PM -0600, Guy Rouillier wrote:
> Marcos wrote:
> > Hi,
> >
> > Does have possible create one procedure to delete a row that return
> > TRUE if the deletion was success or FALSE if a error occur?
> >
> > The procedure for deletion I already create but I don't know
Marcos wrote:
> Hi,
>
> Does have possible create one procedure to delete a row that return
> TRUE if the deletion was success or FALSE if a error occur?
>
> The procedure for deletion I already create but I don't know how
> detect if the deletion was success executed.
How do you define succes
On 1/11/06, Marcos <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Does have possible create one procedure to delete a row that return TRUE
> if the deletion was success or FALSE if a error occur?
>
> The procedure for deletion I already create but I don't know how detect
> if the deletion was success execute
Hi,
Does have possible create one procedure to delete a row that return TRUE
if the deletion was success or FALSE if a error occur?
The procedure for deletion I already create but I don't know how detect
if the deletion was success executed.
Languagel: plpgsql
Thanks.