From: | Guru Prasad <pnguruji(at)yahoo(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Large Objects - lo_export |
Date: | 2001-06-06 13:22:31 |
Message-ID: | Pine.LNX.4.20.0106061832210.785-100000@Larry.bks |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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
-------------------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Wagner | 2001-06-06 14:01:10 | audit trail and system catalogs |
Previous Message | Martín Marqués | 2001-06-06 13:21:00 | tables, permissions, sequences |