Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gWIK1-0001cJ-0z for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Dec 2018 09:57:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gWIJy-0004xM-2g for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Dec 2018 09:57:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gWIJx-0004xF-OH for pgsql-hackers@lists.postgresql.org; Mon, 10 Dec 2018 09:57:49 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gWIJq-0005jt-Bs for pgsql-hackers@postgresql.org; Mon, 10 Dec 2018 09:57:48 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id ABE951E3D91; Mon, 10 Dec 2018 10:57:39 +0100 (CET) Received: from msg.credativ.de (fw-front.credativ.com [62.154.226.94]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: cbe@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id 916F41E3D2A; Mon, 10 Dec 2018 10:57:39 +0100 (CET) Date: Mon, 10 Dec 2018 10:57:39 +0100 From: Christoph Berg To: Michael Paquier Cc: Stephen Frost , PostgreSQL Hackers Subject: Re: [PATCH] Log PostgreSQL version number on startup Message-ID: <20181210095739.GB13629@msg.credativ.de> Mail-Followup-To: Christoph Berg , Michael Paquier , Stephen Frost , PostgreSQL Hackers References: <20181121144611.GJ15795@msg.credativ.de> <20181121163246.GR3415@tamriel.snowman.net> <20181210063307.GD1105@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20181210063307.GD1105@paquier.xyz> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Michael Paquier 2018-12-10 <20181210063307.GD1105@paquier.xyz> > On Wed, Nov 21, 2018 at 11:32:46AM -0500, Stephen Frost wrote: > > * Christoph Berg (christoph.berg@credativ.de) wrote: > >> it has bugged me for a long time that there's no clear "PostgreSQL is > >> starting" message in the server log file. I'd like to change that for > >> two reasons: > >=20 > > +1 >=20 > +1. One complain which could be formulated is that this makes the > logs at startup more noisy. Now your patch has an issue if you want to > ensure that this information gets added to the log files, because at > this stage of startup the GUCs are not loaded, hence this is sent to > stderr, and perhaps not on the log files. I placed it so that it gets logged after logging_collector is active. Christoph --=20 Senior Berater, Tel.: +49 2166 9901 187 credativ GmbH, HRB M=F6nchengladbach 12080, USt-ID-Nummer: DE204566209 Trompeterallee 108, 41189 M=F6nchengladbach Gesch=E4ftsf=FChrung: Dr. Michael Meskes, J=F6rg Folz, Sascha Heuer Unser Umgang mit personenbezogenen Daten unterliegt folgenden Bestimmungen: https://www.credativ.de/datenschutz