]> granicus.if.org Git - postgresql/commit
I'm using libpgtcl with PostgreSQL-7.2.3. There is a discrepancy between
authorBruce Momjian <bruce@momjian.us>
Fri, 8 Nov 2002 04:56:40 +0000 (04:56 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 8 Nov 2002 04:56:40 +0000 (04:56 +0000)
commit02608cbce6dce130d2987e6ffc29cf25a9987c6d
treeacb60d1d0e042b55cff14042f9850f4113e8b6ae
parent476eb59f509920fe7bb40dbc93240e8994f9624a
I'm using libpgtcl with PostgreSQL-7.2.3. There is a discrepancy between
the documentation and behavior of "pg_result $res -oid" when $res is not
from an INSERT.  The documentation says it should return an empty
string, but in fact it returns 0. I think it used to return an empty
string around PostgreSQL-7.1.3 when PQoidStatus() was used, but now it
uses PQoidValue() which returns InvalidOid, 0 in this case.

Assuming the current behavior is desired, here is a patch to the
documentation doc/src/sgml/libpgtcl.sgml to match what really happens:

ljb
doc/src/sgml/libpgtcl.sgml