pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MaurĂ­cio Cruz <cruz@sygecom.com.br>
To: pgsql-admin@postgresql.org
Subject: lo_import
Date: Tue, 03 Jan 2012 16:05:45 -0300
Message-ID: <4F035189.9040300@sygecom.com.br> (raw)

Hi all,

I'm trying to use lo_import to import a file into my database, if I 
execute from postgres runing in my local machine
it works perfectly, but if I do it in the postgres runing in the server, 
it says "No such file or directory"

I Guess postgres only see file on the machine it is runing and not 
through the network...
I will have to upload the file into the server and then use import  ?   
is there any other way ?

Thanks every one.
Cruz



view thread (3+ messages)  latest in thread

Message-ID: <4F035189.9040300@sygecom.com.br>
Permalink:  ../4F035189.9040300@sygecom.com.br/
Also on:    postgresql.org/message-id/4F035189.9040300@sygecom.com.br

 · 

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-admin@postgresql.org
  Cc: cruz@sygecom.com.br
  Subject: Re: lo_import
  In-Reply-To: <4F035189.9040300@sygecom.com.br>

* 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