Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02608cb

Browse files
committed
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 notfrom an INSERT. The documentation says it should return an emptystring, but in fact it returns 0. I think it used to return an emptystring around PostgreSQL-7.1.3 when PQoidStatus() was used, but now ituses PQoidValue() which returns InvalidOid, 0 in this case.Assuming the current behavior is desired, here is a patch to thedocumentation doc/src/sgml/libpgtcl.sgml to match what really happens:ljb
1 parent476eb59 commit02608cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/libpgtcl.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ the connection that produced the result.
712712
<LISTITEM>
713713
<PARA>
714714
if the command was an INSERT, the OID of the
715-
inserted tuple; otherwisean empty string.
715+
inserted tuple; otherwise0.
716716
</PARA>
717717
</LISTITEM>
718718
</VARLISTENTRY>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp