"Bob Whitehouse" <bwhitehouse(at)geeknest(dot)com> writes:
> If I write a function that deletes a record from a table, how do I access
> the output from the delete operation to see if it completed successfully?
In 7.1 you could look at the ROW_COUNT statistic field to see how many
rows were deleted. I don't think pre-7.1 plpgsql has a way to do that.
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: Carsten Huettl||Date: 2001-04-20 06:09:17|
|Subject: postgres installation on FBSD fails|
|Previous:||From: Bob Whitehouse||Date: 2001-04-19 21:30:57|
|Subject: Questions about functions...|