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.

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 \

Fri, 21 Aug 1998 17:08:42 -0600 (MDT)
Brook Milligan <brook@trillium.NMSU.Edu>
PGDATA usage in initdb.sh
> 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@candle.pha.pa.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)

Fri, 21 Aug 1998 19:23:16 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] PGDATA usage in initdb.sh