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: 200702022254.l12MsQgS098965@wwwmaster.postgresql.org (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group