Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA11144; Tue, 29 Jun 93 15:57:28 -0700
Message-Id: <9306292257.AA11144@postgres.Berkeley.EDU>
From: David Allan Finch <sarum@vger.demon.co.uk>
Subject: PGHOST env var
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Date: Tue, 29 Jun 93 22:13:27 BST

Hi,

	I will be getting Vr4.1 and building on the SPARCs at
	working it the near future, but I don't understand
	the PGHOST env.
	
	a) you set the PGHOST env var to the backend machine. ie
	
		sarum@lontw002:12% setenv PGHOST lontf001

	b) can you then run monitor on a database you have already
	create on 'lontf001'? ie
	
		sarum@lontw002:13% monitor quote_history
		
	c) or must you run a postmaster as well on you local machine.
	
		sarum@lontw002:14% postmaster &
		
	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.
	
Yours - a confused UNIX programmer and system admin.

--
    /		Sarum Wizard
 /\|/\		All Hail Discordia
 | K |		david.finch@vger.demon.co.uk
 \___/		sarum@cix.compulink.co.uk
