Re: [GENERAL] get value after updating table

2007-03-26 Thread Martijn van Oosterhout
On Mon, Mar 26, 2007 at 09:38:07PM +0200, Alain Roger wrote: > Hi, > > I wrote a function which should update a table field. > However, i would like somehow to control that update was done. > for that i was thinking to return a boolean : true is update was done, false > if an error happened. I be

Re: [GENERAL] get value after updating table

2007-03-26 Thread Martin Gainty
iffuser, de le distribuer ou de le reproduire. - Original Message - From: Alain Roger To: pgsql-general@postgresql.org Sent: Monday, March 26, 2007 3:38 PM Subject: [GENERAL] get value after updating table Hi, I wrote a function which should update a table field. However, i would

[GENERAL] get value after updating table

2007-03-26 Thread Alain Roger
Hi, I wrote a function which should update a table field. However, i would like somehow to control that update was done. for that i was thinking to return a boolean : true is update was done, false if an error happened. however, i can i do that ? I mean how can i know if UPDATE has been correctl