Skip site navigation (1) Skip section navigation (2)

lo_import

From: Ramon Alonso Allende <allende(at)gredos(dot)cnb(dot)uam(dot)es>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: lo_import
Date: 2003-05-05 08:35:19
Message-ID: 3EB62247.50804@gredos.cnb.uam.es (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi I am using postgres 7.3 in macos X and i am not able to insert a
file into a table all i see is the following error

insert into archivo (d_id,path) values (1,
lo_import('/Users/allende/Documents/PDF/Networks/10356399.pdf'));

ERROR:  lo_import: can't open unix file
"/Users/allende/Documents/PDF/Networks/10356399.pdf": Permission denied


I have done it as a regular user and as postgres user and still does
not work.

Any clue, please

R2A


Responses

pgsql-interfaces by date

Next:From: Nigel J. AndrewsDate: 2003-05-05 11:12:15
Subject: Re: lo_import
Previous:From: Haron, CharlesDate: 2003-05-01 19:15:30
Subject: Re: Inquiry From Form [pgsql]

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group