diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-11-08 04:57:07 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-11-08 04:57:07 +0000 |
commit | 56b12f79fd3d21fa5e192233feaec2f659fc676a (patch) | |
tree | 20a95966a58d699ab22ba8c7b084237d5e306554 /src | |
parent | b9bfe0527eb9f9d70289f453ab027103157da120 (diff) |
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
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions