From: | momjian(at)postgresql(dot)org (Bruce Momjian - CVS) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql-server/doc/src/sgml libpgtcl.sgml |
Date: | 2002-11-08 04:56:40 |
Message-ID: | 20021108045640.4A5BC4761ED@postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)org 02/11/07 23:56:40
Modified files:
doc/src/sgml : libpgtcl.sgml
Log message:
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian - CVS | 2002-11-08 04:57:07 | pgsql-server/doc/src/sgml Tag: REL7_3_STABLE l ... |
Previous Message | Bruce Momjian - CVS | 2002-11-08 04:31:14 | pgsql-server/doc TODO |