Re: [BUGS] problem with plpgsql

2001-08-20 Thread Pascal Bourguignon
> Pascal Bourguignon <[EMAIL PROTECTED]> writes: > > I'm trying to write a function to either insert a new row, or update > > an existing row. However, the test "if not found" is always true, > > I believe you're getting burnt by the fact th

[BUGS] problem with plpgsql

2001-08-20 Thread Pascal Bourguignon
I've got the following problem with a plpgsql function. I believe it denotes a bug with plpgsql. I'm trying to write a function to either insert a new row, or update an existing row. However, the test "if not found" is always true, and I get duplicate rows instead of one updated row. I've