pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedclient-side lo_import() provided by libpq ?
2+ messages / 2 participants
[nested] [flat]
* client-side lo_import() provided by libpq ?
@ 2011-05-18 20:51 Emi Lu <emilu@encs.concordia.ca>
0 siblings, 1 reply; 2+ messages in thread
From: Emi Lu @ 2011-05-18 20:51 UTC (permalink / raw)
To: pgsql-sql
Hello,
Postgresql8.3, tried:
create table test(id, image oid);
insert into test values(1, lo_import('apple.jpg'));
ERROR: must be superuser to use server-side lo_import()
HINT: Anyone can use the client-side lo_import() provided by libpq.
About client-side lo_import(), is there an online doc about install
lo_import?
Thank you,
Emi
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: client-side lo_import() provided by libpq ?
@ 2011-05-19 02:02 Craig Ringer <craig@postnewspapers.com.au>
parent: Emi Lu <emilu@encs.concordia.ca>
0 siblings, 0 replies; 2+ messages in thread
From: Craig Ringer @ 2011-05-19 02:02 UTC (permalink / raw)
To: emilu@encs.concordia.ca; +Cc: pgsql-sql
On 05/19/2011 04:51 AM, Emi Lu wrote:
> About client-side lo_import(), is there an online doc about install
> lo_import?
It's in the manual.
http://www.postgresql.org/docs/current/static/lo-examplesect.html
--
Craig Ringer
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2011-05-19 02:02 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-05-18 20:51 client-side lo_import() provided by libpq ? Emi Lu <emilu@encs.concordia.ca>
2011-05-19 02:02 ` Craig Ringer <craig@postnewspapers.com.au>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox