BUG #2962: 8.2.1 lo_creat Documentation incorrect?

From: "Gary Chambers" <gwchamb(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2962: 8.2.1 lo_creat Documentation incorrect?
Date: 2007-02-02 22:54:26
Message-ID: 200702022254.l12MsQgS098965@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2962
Logged by: Gary Chambers
Email address: gwchamb(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message DUVAL Jean-Pierre 2007-02-03 17:11:57 BUG #2963: PQprepare and transactions.
Previous Message Aaron Logue 2007-02-02 19:01:23 BUG #2961: NULL values in subselects force NOT IN to false