How to tell if that UPDATE worked?

From: <drevil(at)sidereal(dot)kz>
To: pgsql-general(at)postgresql(dot)org
Subject: How to tell if that UPDATE worked?
Date: 2001-01-11 12:09:14
Message-ID: 20010111120914.1480.qmail@mailhost.sidereal.kz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I'm writing some stuff in PL/pgsql (actually, a lot of stuff). I have
a question: At various times, it does UPDATEs. Is there a way to tell
if the UPDATE actually affected any rows or not? I couldn't see how
to get UPDATE to return anything.

Thanks for any tips.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message rob 2001-01-11 12:20:26 Re: converting .xls to delimited file
Previous Message rob 2001-01-11 12:07:18 Re: [HACKERS] Re: still no log