agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Toncan Duong <toncan@cse.unsw.edu.au>
To: postgres@postgres.Berkeley.EDU
Subject: Is that possible to set PGDATA at run time?
Date: Mon, 11 Jul 1994 14:53:17 +1000 (EST)
Message-ID: <940711045318.2791@cse.unsw.edu.au> (raw)


Hi,

Is that possible to set the PGDATA at run-time?

What we want to achieve is to run the postgres backend/frontend at a
machine different from the machine where the data directory is stored.

It appears that excutables such as monitor, createdb, createuser, etc. 
read/write to the directory that has been set at compilation.

(Went through the manual of 4.2. Haven't found any info. on the setting
of environment variables like PGDATA.)


thanks in advance

toncan@cse.unsw.edu.au


==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



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: postgres@postgres.berkeley.edu
  Cc: toncan@cse.unsw.edu.au
  Subject: Re: Is that possible to set PGDATA at run time?
  In-Reply-To: <940711045318.2791@cse.unsw.edu.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox