pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Evan Rempel <erempel@uvic.ca>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [ADMIN] 9.5 new setting "cluster name" and logging
Date: Tue, 18 Oct 2016 14:47:53 -0400
Message-ID: <27743.1476816473@sss.pgh.pa.us> (raw )
In-Reply-To: <CA+TgmoaAJMZ6kuapWbWPorz0wk5BqdTqWSkwD=_T1UZB3hYfEQ@mail.gmail.com >
References: <1377186808.57546.YahooMailNeo@web193505.mail.sg3.yahoo.com >
<A737B7A37273E048B164557ADEF4A58B17C08086@ntex2010a.host.magwien.gv.at >
<1377494614.9111.YahooMailNeo@web193506.mail.sg3.yahoo.com >
<A737B7A37273E048B164557ADEF4A58B17C0876C@ntex2010a.host.magwien.gv.at >
<56AC5601.5040208@uvic.ca >
<20160208142429.5by57csmc75gorg7@alap3.anarazel.de >
<CAEepm=3qzm=iROikNJFdjyZD3AJPEr3m_RFcmazBjZrzAVNoHw@mail.gmail.com >
<20161017222405.GA13284@tamriel.snowman.net >
<CA+TgmoaAJMZ6kuapWbWPorz0wk5BqdTqWSkwD=_T1UZB3hYfEQ@mail.gmail.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Oct 17, 2016 at 6:24 PM, Stephen Frost <sfrost@snowman.net> wrote:
>> I'm with Thomas on this and I disagree that the "csvlog bloat" argument
>> has merit. If we're worried about bloat in csv then we should provide a
>> way for users to control what goes into the csvlog, not argue that
>> something which is clearly useful be excluded.
> I agree, but I think if we do that it would be highly desirable do
> something to make the format discoverable. For example, at the
> beginning of each file and whenever the format changes, we write some
> kind of unmistakable header line into the file identifying what fields
> will be present on each line thereafter. It's undesirable for log
> analysis tools to need to contain logic that tries (imperfectly, no
> doubt) to reverse-engineer the field list.
Automatic "csv header" at the start of each logfile, perhaps? And
force a logfile switch if it changes.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (20+ messages)
Message-ID: <27743.1476816473@sss.pgh.pa.us>
Permalink: ../27743.1476816473@sss.pgh.pa.us/
Also on: postgresql.org/message-id/27743.1476816473@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, sfrost@snowman.net, thomas.munro@enterprisedb.com, andres@anarazel.de, erempel@uvic.ca, pgsql-hackers@postgresql.org
Subject: Re: [ADMIN] 9.5 new setting "cluster name" and logging
In-Reply-To: <27743.1476816473@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox