From 95ef3d902950317650ccea4b9a8bef47936eae35 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Tue, 18 Feb 2025 13:23:13 +0100 Subject: [PATCH] Add PGErrorVerbosity to typedefs.list PGErrorVerbosity was missing which resulted in incorrect whitespace alignment going back all the way to e3860ffa4dd0. No backpatch for this though since we don't pgindent backbranches. Author: Jelte Fennema-Nio Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/CAGECzQTVi8n-HW4Q27je-b9ckQk7zf6bS_it42gNvQu+DX0NCQ@mail.gmail.com --- src/include/utils/elog.h | 2 +- src/tools/pgindent/typedefs.list | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h index 7161f5c6ad6..a0244bff1fc 100644 --- a/src/include/utils/elog.h +++ b/src/include/utils/elog.h @@ -494,7 +494,7 @@ typedef enum PGERROR_TERSE, /* single-line error messages */ PGERROR_DEFAULT, /* recommended style */ PGERROR_VERBOSE, /* all the facts, ma'am */ -} PGErrorVerbosity; +} PGErrorVerbosity; extern PGDLLIMPORT int Log_error_verbosity; extern PGDLLIMPORT char *Log_line_prefix; diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index bce4214503d..80aa50d55a4 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -1792,6 +1792,7 @@ PGAsyncStatusType PGCALL2 PGChecksummablePage PGContextVisibility +PGErrorVerbosity PGEvent PGEventConnDestroy PGEventConnReset -- 2.39.5