I've been asked to port a Sybase database to Postgres in order to do an
initial checkout of Postgres' capabilities. I've been successful for the
most part, but have run into a problem with the triggers. The triggers
make use of a Sybase global variable called @@rowcount. @@rowcount
represents the number of rows affected by the most recent data modification
operation (inserts, deletes and/or updates).
Is there an equivalent in Postgres? Thanks much for the help.