From: Daniel Rubio <drubior@tinet.org>
To: pgsql-admin@postgresql.org
Subject: pg_lo_import alternative ...
Date: Wed, 26 Nov 2003 14:58:50 +0100
Message-ID: <3FC4B19A.3060104@tinet.org> (raw)
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@oasi.org
********************************************************
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: drubior@tinet.org
Subject: Re: pg_lo_import alternative ...
In-Reply-To: <3FC4B19A.3060104@tinet.org>
References: <3FC4B19A.3060104@tinet.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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