Hello, is it possible to get the old value of an update, something like this: INSERT INTO my_table (col) VALUES (2); UPDATE my_table SET col = 4 RETURNING old.col; Should give me the 2. Regards, Gerhard
Next: From: Luis Neves Date: 2009-01-31 13:39:20 Subject: Re: Pet Peeves? Previous: From: Roger Leigh Date: 2009-01-31 12:38:18 Subject: Re: Pet Peeves?