| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Charles Tassell <ctassell(at)isn(dot)net> |
| Cc: | "J(dot)R(dot)" <jrbelding(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: createdb -- alternate locations |
| Date: | 2000-05-26 03:10:49 |
| Message-ID: | 200005260310.XAA24409@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> Try createdb -D $PGDATA2 testdb
>
> At 11:26 PM 5/25/00, J.R. wrote:
> > Hello:
OK, I see this in the code, so it seems $PGDATA2 and 'PGDATA2' are the
same:
if [ "$?" -ne 0 -a ! -d "$Location" ]; then
PGALTDATA=`printenv $Location 2> /dev/null`
if [ -z "$PGALTDATA" ]; then
echo "$CMDNAME: environment variable $Location not set"
exit 1
fi
Does everyone have printenv? I sure hope so.
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2000-05-26 03:23:49 | Permissions on pg_dump/pg_dumpall files |
| Previous Message | Bruce Momjian | 2000-05-26 03:09:02 | Re: createdb -- alternate locations |