BUG #2962: 8.2.1 lo_creat Documentation incorrect? - Mailing list pgsql-bugs

From Gary Chambers
Subject BUG #2962: 8.2.1 lo_creat Documentation incorrect?
Date
Msg-id 200702022254.l12MsQgS098965@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2962: 8.2.1 lo_creat Documentation incorrect?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2962
Logged by:          Gary Chambers
Email address:      gwchamb@gmail.com
PostgreSQL version: 8.2.1
Operating system:   RHEL WS 4 (2.6.9-42.0.3.EL)
Description:        8.2.1 lo_creat Documentation incorrect?
Details:

8.2.1 documentation, section 30.4:

SELECT lo_creat(-1);       -- returns OID of new, empty large object

The documentation states that a new, empty oid is returned if -1 is passed
to either lo_creat or lo_create.

This returns 2^32-1 on every invocation.  Passing a zero seems to work
correctly, however.

pgsql-bugs by date:

Previous
From: "Aaron Logue"
Date:
Subject: BUG #2961: NULL values in subselects force NOT IN to false
Next
From: "DUVAL Jean-Pierre"
Date:
Subject: BUG #2963: PQprepare and transactions.