PGLOG to be based on PGDATA please

From: H Visage <hvisage(at)envisage(dot)co(dot)za>
To: pgsql-pkg-yum(at)postgresql(dot)org
Subject: PGLOG to be based on PGDATA please
Date: 2015-09-15 23:21:23
Message-ID: CAG-v9KiV0xw2DCTBrMmK1ZC3v41sjZULzkC+M0Ok6krPeE1B2w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum

Goodday,

based on my previous email, I've set my PGDATA to /Data/9.4/Bulk/
but I've also cleaned out /var/lib/pgsql/9.4 (no reason to have that) as I
expected the files to be logged related to the Bulk postgresql cluster to
/Data/9.4/Bulk.

However, the postgresql-9.4-setup have fixed values for the PGLOG and
PGUPLOG files :(

<snip>
# Log file for pg_upgrade
PGUPLOG=/var/lib/pgsql/$PGMAJORVERSION/pgupgrade.log
# Log file for initdb
PGLOG=/var/lib/pgsql/9.4/initdb.log

# Get data directory from the service file
PGDATA=`sed -n 's/Environment=PGDATA=//p' "${SERVICE_FILE}"`

</snip>

--
---
Hendrik Visage
Envisage Systems / Envisage Cloud Solutions
084-612-5345 or 083-675-5506
hvisage(at)envisage(dot)co(dot)za

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Jeff Frost 2015-09-16 00:28:49 Re: init script for pgpool
Previous Message H Visage 2015-09-15 23:10:42 postgresql94-setup problems on centos7