Re: [GENERAL] Create Produre for DROP row

2006-01-20 Thread Marcos
> 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

Re: [GENERAL] Create Produre for DROP row

2006-01-13 Thread Jim C. Nasby
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

Re: [GENERAL] Create Produre for DROP row

2006-01-11 Thread Guy Rouillier
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

Re: [GENERAL] Create Produre for DROP row

2006-01-11 Thread Jaime Casanova
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

[GENERAL] Create Produre for DROP row

2006-01-11 Thread Marcos
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.