lo_export - Mailing list pgadmin-support

From stephen.j.brown@gmail.com
Subject lo_export
Date
Msg-id 9ebb62fe-7920-4038-a885-31362100ff4a@y6g2000prf.googlegroups.com
Whole thread Raw
List pgadmin-support
Can someone give me an example for lo_export?  I am trying to export a
file from a database using the pgAdmin 1.6 (Windows).  I am trying the
following query:

SELECT lo_export(attachments.content, '/test.txt') from attachments
where id = 1;

...but all I get is an error with the function name or argument
types.  The help file shows that there are 3 arguments (PGconn *conn,
Oid lobjId, const char *filename), but I cannot find anything that
defines what to use for the PGconn.


pgadmin-support by date:

Previous
From: Rainer Bauer
Date:
Subject: pgAdmin not starting my job
Next
From: "Larry Silvermintz"
Date:
Subject: Bug Report: PGAdminIII Query Tool Edit Window Key Commands stopped working between 1.0 and 1.10.0 beta.