Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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?

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

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group