"Jeroen T. Vermeulen" <[EMAIL PROTECTED]> writes:

> On Fri, November 25, 2005 05:35, Roger Leigh wrote:
>
>> libpqxx shows three testcase failures when building with
>> * libpq4 (8.1.0)
>> * GCC 4.0.3 (g++ (GCC) 4.0.3 20051111 (prerelease) (Debian 4.0.2-4))
>>
>> The full build log is attached.  The failures are
>> * test016
>> * test018
>> * test035
>
> These failures all occur while setting up a robust_transaction, and should
> not affect code that does not use this particular class.  A workaround is
> to use a regular transaction instead (no other changes needed).

OK.  I'll document this in the README.Debian, so that people are aware
of this.

> A possible cause of this failure is that tables in PostgreSQL no longer
> contain an implicit oid column by default.  The failing code creates a
> table and expects it to contain this column.  The problem has been worked
> around in the 2.6.x development series for some time.

OK, that's probably the cause, since the server is running 8.1, and so
the tables don't have oids.

> A workaround with relatively little impact would be to edit
> src/robusttransaction.cxx, and:
>
> 1. replacing all "oid" with a new identifier, say "tid"
> 2. adding a column "tid SERIAL" in the CREATE TABLE for the log table
> 3. changing the transaction log table's name throughout the source file
>
> This adds a new table.  Which is not pretty, but the advantage is that it
> does not require the column to be added to a possibly already existing
> table.

Is it OK if I add this to the README.Debian as a workaround?


Thanks!
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to