PGDATA usage in initdb.sh

From: Brook Milligan <brook(at)trillium(dot)NMSU(dot)Edu>
To: hackers(at)postgreSQL(dot)org
Subject: PGDATA usage in initdb.sh
Date: 1998-08-21 23:08:42
Message-ID: 199808212308.RAA23911@trillium.nmsu.edu
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.

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 \

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-08-21 23:23:16 Re: [HACKERS] PGDATA usage in initdb.sh
Previous Message Brook Milligan 1998-08-21 23:06:48 Re: [HACKERS] New Developer's FAQ item