From: | Philipp Käser <pkaeser(at)obtree(dot)com> |
---|---|
To: | "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
Subject: | RE: libpq: large objects |
Date: | 2000-09-19 14:38:32 |
Message-ID: | 8FBC19E64A26D411B0E3009027F688FB1F030F@indoor.intra.openmind.ch |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
hej,
okay, after fiddling around quite a bit, I noticed
that everything *has* to be in a transaction. So, there's
no need to waste your time on me, then :)
thanks anyway, bye
Philipp Käser
-----Original Message-----
From: Philipp Käser [mailto:pkaeser(at)obtree(dot)com]
Sent: Dienstag, 19. September 2000 15:34
To: 'pgsql-general(at)postgresql(dot)org'
Subject: [GENERAL] libpq: large objects
hej,
I'm having some troubles importing/exporting large objects using the
libpq C interface. I wrote a simple test program to see where the error
might be, but not even this seems to work:
test.cpp should import a file /tmp/redball.gif, and just try to open the
large object.
then, there is a manually inserted object in the database which I want
to export as /tmp/redball1.gif.
All functions fail with errors.
However, when doing the same import/export procedure using the
psql commandline tool, there's no problem. do you have any suggestions
what might be wrong? is the large object interface of libpq still very
much under development? Did I forget anything of great importance?
[.... snip]
----
From | Date | Subject | |
---|---|---|---|
Next Message | Enrico Comini | 2000-09-19 15:09:02 | Postgres Large Object |
Previous Message | leonbloy | 2000-09-19 14:37:52 | nasty problem with redhat 6.2 + pg 7.02 |