Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zc48g-0000Oq-Hx for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 16 Sep 2015 04:16:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zc48f-0006Ui-Im for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 16 Sep 2015 04:16:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZbzXV-00066y-Iq for pgsql-pkg-yum@postgresql.org; Tue, 15 Sep 2015 23:21:29 +0000 Received: from mail-vk0-f51.google.com ([209.85.213.51]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZbzXR-00074W-Os for pgsql-pkg-yum@postgresql.org; Tue, 15 Sep 2015 23:21:27 +0000 Received: by vkgd64 with SMTP id d64so90565757vkg.0 for ; Tue, 15 Sep 2015 16:21:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=scaYUwgoHErXqluCiR9/MLbLysssVQ8yVAoTOQlAyUk=; b=IbFLz6UbnFS2QD29RIHMi4+MSqGVjG+SxjZT1tcucj9BbtCoxEclAjRMEObbIZEjm3 68vd/bCoJfXkyIZVUyVhm9c0M7bI7j5p1wwa54h8FTAW/W9hVlVzbzIMoXMqpVkLvvqb cp1aZ1596Wjjvv7auepPOi9b/EheHIL+5dXqOGjZm7HpYoqI+ETrB9LbaSRs2PZjLm/M CmDXtfl3yYZQEDCMwaMMp7fsceJmau3PVI8YZfDkwf84fasQqz0LMmwvUlS+vwuL8mK6 UrQFNajfNFx+yi9W7XCs6O8b6gyv9DoKETOb3hChF1FXM2YRw4wohZju5l8NqqhFx/06 0ZpQ== X-Gm-Message-State: ALoCoQkkHbbu+L32eCfjAKrIFahuKApKSPkzNI0pIZ4UzDsW5QeoL20w8tvlfscQHAUkniOu2FzL MIME-Version: 1.0 X-Received: by 10.31.11.197 with SMTP id 188mr25183765vkl.84.1442359283961; Tue, 15 Sep 2015 16:21:23 -0700 (PDT) Received: by 10.103.49.199 with HTTP; Tue, 15 Sep 2015 16:21:23 -0700 (PDT) Date: Wed, 16 Sep 2015 01:21:23 +0200 Message-ID: Subject: PGLOG to be based on PGDATA please From: H Visage To: pgsql-pkg-yum@postgresql.org Content-Type: multipart/alternative; boundary=001a1144211ac26bc0051fd17043 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-pkg-yum Precedence: bulk Sender: pgsql-pkg-yum-owner@postgresql.org --001a1144211ac26bc0051fd17043 Content-Type: text/plain; charset=UTF-8 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 :( # 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}"` -- --- Hendrik Visage Envisage Systems / Envisage Cloud Solutions 084-612-5345 or 083-675-5506 hvisage@envisage.co.za --001a1144211ac26bc0051fd17043 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Goodday,

=C2=A0based= on my previous email, I've set my PGDATA to /Data/9.4/Bulk/
b= ut 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 t= o /Data/9.4/Bulk.

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

<snip>
# L= og file for pg_upgrade
PGUPLOG=3D/var/lib/pgsql/$PGMAJORVERSION/pgupgrad= e.log
# Log file for initdb
PGLOG=3D/var/lib/pgsql/9.4/initdb.log
=
# Get data directory from the service file
PGDATA=3D`sed -n 's/E= nvironment=3DPGDATA=3D//p' "${SERVICE_FILE}"`

&l= t;/snip>


--
<= div class=3D"gmail_signature">---
Hendrik Visage
Envisage Systems / E= nvisage Cloud Solutions
084-612-5345 or 083-675-5506
hvisage@envisage.co.za
--001a1144211ac26bc0051fd17043--