fix PQcmdTuples() for MOVE/FETCH

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: fix PQcmdTuples() for MOVE/FETCH
Date: 2003-01-20 01:50:48
Message-ID: 1043027448.383.6.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

This patch updates PQcmdTuples() to return the number of rows "affected"
by MOVE and FETCH commands (that information is returned in completion
tags for those commands, but PQcmdTuples() didn't know about it). I also
fixed a typo in the EXECUTE docs, and improved some of the markup in the
libpq docs.

(BTW, I decided to rewrite PQcmdTuples() -- but I'm still not sure I
covered every corner case ... if anyone spots a bug or can suggest a
cleaner way to implement the function, please speak up.)

Cheers,

Neil
--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

Attachment Content-Type Size
cmd-tuples-4.patch text/x-patch 13.4 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Jan Wieck 2003-01-20 22:04:12 Win32 port diff files
Previous Message Bruce Momjian 2003-01-19 00:12:34 Re: doc improvements