Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id VAA17880 for postgres-redist; Sun, 10 Jul 1994 21:53:35 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199407110453.VAA17880@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from jarrah.cse.unsw.EDU.AU (jarrah.cse.unsw.EDU.AU [129.94.238.20]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id VAA17870 for ; Sun, 10 Jul 1994 21:53:33 -0700 Received: From stratocaster With LocalMail ; Mon, 11 Jul 94 14:53:19 +1000 From: toncan@cse.unsw.edu.au (Toncan Duong) To: postgres@postgres.Berkeley.EDU Date: Mon, 11 Jul 1994 14:53:17 +1000 (EST) Message-Id: <940711045318.2791@cse.unsw.edu.au> Subject: Is that possible to set PGDATA at run time? X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 487 Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Sun, 10 Jul 94 21:53:35 -0700 Resent-XMts: smtp 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. ==============================================================================