Re: [HACKERS] Large objects - Mailing list pgsql-hackers

From Raymond Toy
Subject Re: [HACKERS] Large objects
Date
Msg-id e58cf83b35473c88ffd6cee045b3e106
Whole thread Raw
In response to [HACKERS] Large objects  (Sean Lyndersay <lynders@hcs.harvard.edu>)
List pgsql-hackers
>>>>> "Sean" == Sean Lyndersay <lynders@hcs.harvard.edu> writes:


    Sean> Can't be that. I'm using the testlo.cc program in the
    Sean> libpq++/examples directory. It has a begin and an end
    Sean> command. For reference, I'm using the snapshot day before
    Sean> yesterday.

    Sean> My preference would be to have these large object patches
    Sean> asap. It seems that they are broken right now. Either that
    Sean> or libpq++ is broken. If Raymond is having no problems with
    Sean> libpq, then I can debug libpq++ and see what's
    Sean> happening. I'd rather not repeat anything he's done.

Ok.  Just a thought.  I have not tried libpq++, and all of my testing
has been either with psql or my homegrown STk to PostgreSQL
interface (pgstk).

If you have the version from two or three days ago, you are working
with the same version as I am (was) using.  You are only missing the
patch I posted on Sunday which fixes a bug in the backend for
lo_import and lo_export.  The sample code in test/examples/testlo.c
works just fine for me (but needed to include <fcntl.h>) so I suspect
either a simple bug in either testlo.cc or libpq++.

Ray

------------------------------

pgsql-hackers by date:

Previous
From: Sean Lyndersay
Date:
Subject: Re: [HACKERS] Large objects
Next
From: hal@vailsys.com (Hal Snyder)
Date:
Subject: Re: [HACKERS] Forms package and other companion software.