pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move any code specific to log_destination=csvlog to its own file
Date: Wed, 12 Jan 2022 06:04:43 +0000
Message-ID: <E1n7WkV-0007O2-Ab@gemulon.postgresql.org> (raw)

Move any code specific to log_destination=csvlog to its own file

The recent refactoring done in ac7c807 makes this move possible and
simple, as this just moves some code around.  This reduces the size of
elog.c by 7%.

Author: Michael Paquier, Sehrope Sarkuni
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/CAH7T-aqswBM6JWe4pDehi1uOiufqe06DJWaU5=X7dDLyqUExHg@mail.gmail.com

simply moves the routines related to csvlog into their own file

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bed6ed3de9b3e62d8c6ee034513d04d769091927

Modified Files
--------------
src/backend/utils/error/Makefile |   1 +
src/backend/utils/error/csvlog.c | 264 +++++++++++++++++++++++++++++++++++++++
src/backend/utils/error/elog.c   | 231 ----------------------------------
3 files changed, 265 insertions(+), 231 deletions(-)



Message-ID: <E1n7WkV-0007O2-Ab@gemulon.postgresql.org>
Permalink:  ../E1n7WkV-0007O2-Ab@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1n7WkV-0007O2-Ab@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Move any code specific to log_destination=csvlog to its own file
  In-Reply-To: <E1n7WkV-0007O2-Ab@gemulon.postgresql.org>
  References: <E1n7WkV-0007O2-Ab@gemulon.postgresql.org>

* 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