Add PGErrorVerbosity to typedefs.list
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 18 Feb 2025 12:23:13 +0000 (13:23 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Tue, 18 Feb 2025 12:23:13 +0000 (13:23 +0100)
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
src/tools/pgindent/typedefs.list

index 7161f5c6ad6eae368bdb8fd79b43beaaa8286ae9..a0244bff1fc634092e9e0c74a89b1a3c39ea50e6 100644 (file)
@@ -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;
index bce4214503d6da9f9a0cdb591a4368f17c4990b5..80aa50d55a416e517dfa5da186d9c7fd2424777a 100644 (file)
@@ -1792,6 +1792,7 @@ PGAsyncStatusType
 PGCALL2
 PGChecksummablePage
 PGContextVisibility
+PGErrorVerbosity
 PGEvent
 PGEventConnDestroy
 PGEventConnReset