Re: lo_export - Mailing list pgsql-novice

From Tom Lane
Subject Re: lo_export
Date
Msg-id 18571.1100803255@sss.pgh.pa.us
Whole thread Raw
In response to lo_export  (Steve Tucknott <steve@retsol.co.uk>)
List pgsql-novice
Steve Tucknott <steve@retsol.co.uk> writes:
> We have images stored in the database, that our application allows the
> user to export (using lo_export), update, and then reimport. How do I
> get around the permissions issue?

Do the lo_export and lo_import on the client side, not the server side.
IIRC psql has a "\lo_export" command, and there's definitely a function
for it in libpq.

            regards, tom lane

pgsql-novice by date:

Previous
From: Aarni Ruuhimäki
Date:
Subject: Re: Querying a list of values
Next
From: Tom Lane
Date:
Subject: Re: multi-homed box