pgsql: Move any code specific to log_destination=csvlog to its own file - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Move any code specific to log_destination=csvlog to its own file
Date
Msg-id E1n7WkV-0007O2-Ab@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Refactor set of routines specific to elog.c
Next
From: Peter Eisentraut
Date:
Subject: pgsql: ecpg: Catch zero-length Unicode identifiers correctly