PGLOG to be based on PGDATA please - Mailing list pgsql-pkg-yum

From H Visage
Subject PGLOG to be based on PGDATA please
Date
Msg-id CAG-v9KiV0xw2DCTBrMmK1ZC3v41sjZULzkC+M0Ok6krPeE1B2w@mail.gmail.com
Whole thread Raw
Responses Re: PGLOG to be based on PGDATA please
List 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@envisage.co.za

pgsql-pkg-yum by date:

Previous
From: H Visage
Date:
Subject: postgresql94-setup problems on centos7
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: init script for pgpool