pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Richard J Kuhns <rjk@grauel.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Question about databases in alternate locations...
Date: Wed, 17 May 2000 05:38:58 +0000
Message-ID: <39223072.63596770@alumni.caltech.edu> (raw)
References: <14625.26748.356187.68826@localhost.grauel.com>

> Could anyone please tell me what I'm doing wrong?  I'm sure I'm just
> overlooking something, but what?

As Jeff pointed out, the environment variable "P" must be known to the
server backend to be used in the WITH LOCATION clause. Using it in the
preceeding initlocation invocation was correct. The utility tries it
as an environment variable, then as an absolute path, so "initlocation
P" and "initlocation $P" are both valid. You can make the environment
variable known to the backend by defining it in the postgres account's
.cshrc or .bashrc file, or by explicitly setting it before firing up
the backend.

                         - Thomas

-- 
Thomas Lockhart				lockhart@alumni.caltech.edu
South Pasadena, California



view thread (10+ messages)  latest in thread

Message-ID: <39223072.63596770@alumni.caltech.edu>
Permalink:  ../39223072.63596770@alumni.caltech.edu/
Also on:    postgresql.org/message-id/39223072.63596770@alumni.caltech.edu

 · 

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-sql@postgresql.org
  Cc: lockhart@alumni.caltech.edu, rjk@grauel.com, pgsql-general@postgresql.org
  Subject: Re: Question about databases in alternate locations...
  In-Reply-To: <39223072.63596770@alumni.caltech.edu>
  References: <14625.26748.356187.68826@localhost.grauel.com> <39223072.63596770@alumni.caltech.edu>

* 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