Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 7F975116AE57 for ; Tue, 3 Jan 2012 14:35:04 -0400 (AST) Received: from lo.gmane.org ([80.91.229.12]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ri9CO-0001SF-1n for pgsql-sql@postgresql.org; Tue, 03 Jan 2012 18:35:04 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ri9C9-0006iO-Ds for pgsql-sql@postgresql.org; Tue, 03 Jan 2012 19:34:45 +0100 Received: from g224120142.adsl.alicedsl.de ([92.224.120.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 19:34:45 +0100 Received: from tim by g224120142.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 19:34:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: pgsql-sql@postgresql.org To: pgsql-sql@postgresql.org From: Tim Landscheidt Subject: Re: lo_import Date: Tue, 03 Jan 2012 18:34:31 +0000 Organization: Lines: 17 Message-ID: References: <4EF9AFC2.3090204@sygecom.com.br> <4F02F544.9070506@sygecom.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: g224120142.adsl.alicedsl.de Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:fQ48FuiEU8Efc8RORjGGSlcbtf4= X-Pg-Spam-Score: -6.0 (------) X-Archive-Number: 201201/9 X-Sequence-Number: 36180 Maurício Cruz wrote: > 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 ? Create a large object and then write to it? What driver are you using? Tim