Re: [HACKERS] PGDATA usage in initdb.sh

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: brook(at)trillium(dot)NMSU(dot)Edu (Brook Milligan)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] PGDATA usage in initdb.sh
Date: 1998-08-21 23:23:16
Message-ID: 199808212323.TAA29893@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> In the current snapshot it looks like both PGDATA and PG_DATA are
> referenced. Is this a mistake or is the snapshot really old? The
> patch below fixes it.

Old mistake that is just in printing, so no one noticed. Fixed.

>
> Cheers,
> Brook
>
> ===========================================================================
> --- bin/initdb/initdb.sh.orig Mon Apr 6 02:05:52 1998
> +++ bin/initdb/initdb.sh Wed Jun 10 13:13:18 1998
> @@ -286,7 +286,7 @@
> #----------------------------------------------------------------------------
>
> if [ $template_only -eq 0 ]; then
> - echo "Creating global classes in $PG_DATA/base"
> + echo "Creating global classes in $PGDATA/base"
> echo "Running: postgres $BACKENDARGS template1"
>
> cat $GLOBAL \
>
>

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-08-22 01:52:00 Re: [HACKERS] Re: PostgreSQL + year 2000
Previous Message Brook Milligan 1998-08-21 23:08:42 PGDATA usage in initdb.sh