Re: [HACKERS] need help with csh - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: [HACKERS] need help with csh
Date
Msg-id 19850829114043.A1727@usa.net
Whole thread Raw
In response to need help with csh  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Responses Re: [HACKERS] need help with csh  (prlw1@cam.ac.uk (Patrick Welche))
List pgsql-hackers
On Sat, Oct 03, 1998 at 06:58:04PM +0000, Thomas G. Lockhart wrote:
> I'm trying to fix up initlocation to accept an environment variable as
> an input parameter (in addition to the absolute path name it already
> accepts).

And how shall it dsitinguish between a path and a variable?

> I'd like to be able to say:
>
>   setenv PGDATA2 /home/postgres/data
>   initlocation PGDATA2

But this could mean the path PGDATA2 too, couldn't it?

> Anyone know how to do this? Please??

I don't even know if it's at all possible.

Michael
--
Dr. Michael Meskes      | Th.-Heuss-Str. 61, D-41812 Erkelenz | Go SF49ers!
Senior-Consultant       | business: Michael.Meskes@mummert.de | Go Rhein Fire!
Mummert+Partner         | private: Michael.Meskes@usa.net     | Use Debian
Unternehmensberatung AG |          Michael.Meskes@gmx.net     | GNU/Linux!

pgsql-hackers by date:

Previous
From: "Sangeeta Rao"
Date:
Subject: Default 'timestamp' value on HP-UX running Postgresql6.3.2
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] vacuum analyze problem