Peter A. Lebedev (plebedev(at)vniief(dot)ru) reports a bug with a severity of 2
The lower the number the more severe it is.
Large objects documentation
It seems to be the omission in Programmers Guide about large objects.
I've lost a lot of time trying to understand why large object is created successfully but lo_open returned with error "cann't lo_lseek on invalid descriptor 0". I've investigated source code in libpq interface and was very confused when read comment that valid descriptor have value equals or greater then 0...
In Programmers Guide I've read all about these functions, but there was nothing about to use BEGIN WORK and COMMIT while working with such functions...
It seems good to me if libpq will report on necessity of such "brackets" for lo_* function or/and special highlight on this topic in documentations.
No file was uploaded with this report
pgsql-bugs by date
|Next:||From: Peter Eisentraut||Date: 2002-08-15 17:13:42|
|Subject: Re: Long strings, short varchars|
|Previous:||From: Bruce Momjian||Date: 2002-08-15 03:01:18|
|Subject: Re: Bug #737: PQescapeBytea parameter #3 size_t *to_length|