forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit02608cb
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:ljb1 parent476eb59 commit02608cb
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
712 | 712 |
| |
713 | 713 |
| |
714 | 714 |
| |
715 |
| - | |
| 715 | + | |
716 | 716 |
| |
717 | 717 |
| |
718 | 718 |
| |
|
0 commit comments
Comments
(0)