From: Guru Prasad <pnguruji@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Large Objects - lo_export
Date: Wed, 6 Jun 2001 18:52:31 +0530 (IST)
Message-ID: <Pine.LNX.4.20.0106061832210.785-100000@Larry.bks> (raw)
Hi to list !
while running psql as 'postgres' user, i executed the following query.
'select lo_export(img.image, '/home/postgres/junk.tgz') from img where
data = 'tar file';
The result of the above command is as follows.
ERROR: lo_export: can't open unix file
"/home/postgres/junk.tgz": Permission denied
i performed the above query as superuser ('postgres'). I hope it' having
all the superuser previleges.
I am not sure why i am getting the above error.
Any one got any clue for it.
thanx in advance.
guru.
bk SYSTEMS (P) Ltd.
P . N . G U R U P R A S A D
-------------------------------------------------------------------------------
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-sql@postgresql.org
Cc: pnguruji@yahoo.com
Subject: Re: Large Objects - lo_export
In-Reply-To: <Pine.LNX.4.20.0106061832210.785-100000@Larry.bks>
References: <Pine.LNX.4.20.0106061832210.785-100000@Larry.bks>
* 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