postgres.git / summary / log / commit / refs
commit 95ef3d902950317650ccea4b9a8bef47936eae35
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: Tue Feb 18 12:23:13 2025 +0000
First released in: 18.0
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 <postgres@jeltef.nl>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
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
[parent: 593509202f66]