client-side lo_import() provided by libpq ?

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: client-side lo_import() provided by libpq ?
Date: 2011-05-18 20:51:16
Message-ID: 4DD43144.4020303@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Karsten Hilbert 2011-05-18 21:00:41 Re: column type for pdf file
Previous Message Julien Cigar 2011-05-18 20:46:23 Re: column type for pdf file