pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ramon Alonso Allende <allende@gredos.cnb.uam.es>
To: pgsql-interfaces@postgresql.org
Subject: lo_import
Date: Mon, 05 May 2003 10:35:19 +0200
Message-ID: <3EB62247.50804@gredos.cnb.uam.es> (raw)

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




view thread (3+ messages)  latest in thread

Message-ID: <3EB62247.50804@gredos.cnb.uam.es>
Permalink:  ../3EB62247.50804@gredos.cnb.uam.es/
Also on:    postgresql.org/message-id/3EB62247.50804@gredos.cnb.uam.es

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: allende@gredos.cnb.uam.es
  Subject: Re: lo_import
  In-Reply-To: <3EB62247.50804@gredos.cnb.uam.es>

* 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