[EMAIL PROTECTED] writes: > 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. I think the libpq function PQcmdTuples() does what you want, although it's possible Sybase's behavior differs in some details. regards, tom lane