Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine. - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.
Date
Msg-id 20060909120613.GA10336@svana.org
Whole thread Raw
In response to Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.  ("Purusothaman A" <purusothaman.a@gmail.com>)
Responses Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.
List pgsql-general
On Sat, Sep 09, 2006 at 05:19:26PM +0530, Purusothaman A wrote:
> I usually log in to postgresql server with admin username.
>
> But whatever its, according to documentation, if client machine's user has
> write access
> permission, this query should successfully be executed.

Read carefully, you are using the server-side functions, therefore:

"These two functions read and write files in the server's file system,
using the permissions of the database's owning user."

What your client user is is irrelevent. Perhaps you actually want to
use the client-side functions?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: "Purusothaman A"
Date:
Subject: Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.
Next
From: Poul Jensen
Date:
Subject: Re: ECPG - how to fetch then sort strings