summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-02-17 15:44:32 +0000
committeragc <agc@pkgsrc.org>1998-02-17 15:44:32 +0000
commit38e162eddd3b406110f296799f3da47b6efee656 (patch)
tree5348c2aeabe32a563fe03a9d9fe7197a92e1ebb2 /databases
parenta5b05f24661dcf8877e3d544ae8921d12ad04015 (diff)
downloadpkgsrc-38e162eddd3b406110f296799f3da47b6efee656.tar.gz
The correct definition for the database directory is PGDATA, not PG_DATA.
Diffstat (limited to 'databases')
-rw-r--r--databases/postgresql/patches/patch-ab11
1 files changed, 10 insertions, 1 deletions
diff --git a/databases/postgresql/patches/patch-ab b/databases/postgresql/patches/patch-ab
index bbb6c6edc66..13eb0d7d493 100644
--- a/databases/postgresql/patches/patch-ab
+++ b/databases/postgresql/patches/patch-ab
@@ -1,6 +1,15 @@
--- bin/initdb/initdb.sh.orig Wed Apr 2 07:09:13 1997
+++ bin/initdb/initdb.sh Wed Apr 2 07:09:33 1997
-@@ -344,6 +344,5 @@
+@@ -289,7 +289,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 \
+@@ -346,6 +346,5 @@
if [ $debug -eq 0 ]; then
echo "vacuuming template1"