Return-Path: aoki
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA13622; Tue, 29 Jun 93 23:41:30 -0700
Message-Id: <9306300641.AA13622@postgres.Berkeley.EDU>
From: aoki@postgres.berkeley.edu (Paul M. Aoki)
Subject: Re: PGHOST env var
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
In-Reply-To: Your message of Tue, 29 Jun 93 22:13:27 BST 
	     <9306292257.AA11144@postgres.Berkeley.EDU> 
Date: Tue, 29 Jun 93 23:44:51 -0700
Sender: aoki@postgres.Berkeley.EDU
X-Mts: smtp

David Allan Finch <sarum@vger.demon.co.uk> writes:
> 	a) you set the PGHOST env var to the backend machine. ie
> 		sarum@lontw002:12% setenv PGHOST lontf001

right.

> 	b) can you then run monitor on a database you have already
> 	create on 'lontf001'? ie
> 		sarum@lontw002:13% monitor quote_history

yes.

> 	c) or must you run a postmaster as well on you local machine.
> 		sarum@lontw002:14% postmaster &

no.

> 	d) I asumed that you only run a postmaster on the
> 	backend machine. ie
> 		postgres@lontf001:1> postmaster &
> 	and then linpq.a and monitor could talk via sockets to it.

yes.
--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki
