From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move any code specific to log_destination=csvlog to its own file |
Date: | 2022-01-12 06:04:43 |
Message-ID: | E1n7WkV-0007O2-Ab@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2022-01-12 09:59:06 | pgsql: ecpg: Catch zero-length Unicode identifiers correctly |
Previous Message | Michael Paquier | 2022-01-12 05:18:05 | pgsql: Refactor set of routines specific to elog.c |