pg_lo_import alternative ...

From: Daniel Rubio <drubior(at)tinet(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: pg_lo_import alternative ...
Date: 2003-11-26 13:58:50
Message-ID: 3FC4B19A.3060104@tinet.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi all.

One of our clients wants to store images into his postgres database
hosted by us.

To do this is trying to use the PHP function pg_lo_import, receiving
this error message from server:

Waning: pg_query() [function.pg-query]: Query failed: ERROR: You must
have Postgres superuser privilege to use server-side lo_import(). Anyone
can use the client-side lo_import() provided by libpq. . in
/apps/web/html/funcions.php on line 121

I can read that there's a client-side function in libpq, but I can't
find any information about it and their use.

Anyone knows something?
--
********************************************************
Daniel Rubio Rodríguez
OASI (Organisme Autònom Per la Societat de la Informació)
c/ Assalt, 12
43003 - Tarragona
Tef.: 977.244.007 - Fax: 977.224.517
e-mail: drubio(at)oasi(dot)org
********************************************************

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andrei Bintintan 2003-11-26 14:20:05 Re: pg_lo_import alternative ...
Previous Message Andrei Bintintan 2003-11-26 07:18:13 Re: Sensitive sort problem?