pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Marden <amarden@usa.net>
To: pgsql-admin@postgresql.org
Subject: User access to start and stop postmaster
Date: Fri, 15 Feb 2002 15:07:02 -0000
Message-ID: <a4j8bg$h9a$1@jupiter.hub.org> (raw)

I'm running a batch load on PostgreSQL 7.1.3 on Linux as a given OS user. As
part of this, I want to restart postmaster with -i access removed and at the
end, restart with -i added on (denying network access during the load
process). Trouble is, it seems that I have to be the postgres user to do
this - I'd hoped that being part of the postgres group would be enough. Has
anyone thoughts on how to achieve this (short of running everything as the
postgres user.

Load scripts are Perl, by the way.

cheers

Andy





Message-ID: <a4j8bg$h9a$1@jupiter.hub.org>
Permalink:  ../a4j8bg$h9a$1@jupiter.hub.org/
Also on:    postgresql.org/message-id/a4j8bg$h9a$1@jupiter.hub.org

 · 

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: amarden@usa.net
  Subject: Re: User access to start and stop postmaster
  In-Reply-To: <a4j8bg$h9a$1@jupiter.hub.org>
  References: <a4j8bg$h9a$1@jupiter.hub.org>

* 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