pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-admin@postgresql.org
Cc: Sofer, Yuval <Yuval_Sofer@bmc.com>
Subject: Re: get PGDATA as non-postgres user
Date: Thu, 3 Jan 2008 13:56:32 +0100
Message-ID: <200801031356.32607.peter_e@gmx.net> (raw)
In-Reply-To: <BE67D1149BBD5746984545ED91F702E052298A@hou-ex-02.adprod.bmc.com>
References: <BE67D1149BBD5746984545ED91F702E052298A@hou-ex-02.adprod.bmc.com>

Am Donnerstag, 3. Januar 2008 schrieb Sofer, Yuval:
> I need to get PGDATA location when I logged in as non-postgres user.

Consider writing a security-definer function that retrieves the information.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (2+ messages)

Message-ID: <200801031356.32607.peter_e@gmx.net>
Permalink:  ../200801031356.32607.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200801031356.32607.peter_e@gmx.net

 · 

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: peter_e@gmx.net, Yuval_Sofer@bmc.com
  Subject: Re: get PGDATA as non-postgres user
  In-Reply-To: <200801031356.32607.peter_e@gmx.net>

* 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