pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Purusothaman A <purusothaman.a@gmail.com>
To: Martijn van Oosterhout <kleptog@svana.org>
To: Purusothaman A <purusothaman.a@gmail.com>
To: Milen A. Radev <milen@radev.net>
To: pgsql-admin@postgresql.org
To: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Problem with lo_export() and lo_import() from remote machine.
Date: Mon, 11 Sep 2006 14:45:10 +0530
Message-ID: <3650d0d50609110215j7361bc2dj55e6d7d73af1d07d@mail.gmail.com> (raw)
In-Reply-To: <20060909120613.GA10336@svana.org>
References: <3650d0d50609090407j237bb710h9bde1675c773925d@mail.gmail.com>
	<edu8r6$k56$1@sea.gmane.org>
	<3650d0d50609090449q2aec1098xc3b62dd169de5843@mail.gmail.com>
	<20060909120613.GA10336@svana.org>

Hi Martijn van Oosterhout,

Thanks for your valuable reply.

Yes I misunderstood the documentation.

Then, I searched PostgreSQL documentation for equivalent client-side
functions.
But I found only C programming APIs instead of SQL functions.

I want functions which is usable in SQL statements.

Can you give example or equivalent client side function syntax?

Thanks in advance.

:)
Purusothaman A




On 9/9/06, Martijn van Oosterhout <kleptog@svana.org> wrote:
>
> 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.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFFAq41IB7bNG8LQkwRAsptAKCDSWuRI5T+JMqpWEQt7r69kJE6CwCfVTOO
> mOqGDNQBTZZDs4WVf6NM+wQ=
> =kT4s
> -----END PGP SIGNATURE-----
>
>
>

view thread (15+ messages)  latest in thread

Message-ID: <3650d0d50609110215j7361bc2dj55e6d7d73af1d07d@mail.gmail.com>
Permalink:  ../3650d0d50609110215j7361bc2dj55e6d7d73af1d07d@mail.gmail.com/
Also on:    postgresql.org/message-id/3650d0d50609110215j7361bc2dj55e6d7d73af1d07d@mail.gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: purusothaman.a@gmail.com, kleptog@svana.org, milen@radev.net, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] Problem with lo_export() and lo_import() from remote machine.
  In-Reply-To: <3650d0d50609110215j7361bc2dj55e6d7d73af1d07d@mail.gmail.com>
  References: <3650d0d50609090407j237bb710h9bde1675c773925d@mail.gmail.com> <edu8r6$k56$1@sea.gmane.org> <3650d0d50609090449q2aec1098xc3b62dd169de5843@mail.gmail.com> <20060909120613.GA10336@svana.org> <3650d0d50609110215j7361bc2dj55e6d7d73af1d07d@mail.gmail.com>

* 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