From b37b84866810a75e09cd8cb27810c54c6f8d8fbc Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Fri, 8 Dec 2023 06:03:40 +0900 Subject: [PATCH] Remove duplicate definition of TransactionId. Since commit: ca300f839, following is defined in src/include/parser/pg_list.h and src/include/parser/primnodes.h. typedef uint32 TransactionId; This is harmless in moder OS/compilers, but an old RHEL5 user reported that this results in compile error: https://www.pgpool.net/pipermail/pgpool-general/2023-December/009040.html So remove the definition from primnodes.h (remove it from pg_list.h causes another compile error). Back patched to V4_5_STABLE. --- src/include/parser/primnodes.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/include/parser/primnodes.h b/src/include/parser/primnodes.h index cb37d33e3..af735ee17 100644 --- a/src/include/parser/primnodes.h +++ b/src/include/parser/primnodes.h @@ -24,7 +24,6 @@ * include/c.h */ typedef uint32 SubTransactionId; -typedef uint32 TransactionId; #define InvalidSubTransactionId ((SubTransactionId) 0) /* ---------------------------------------------------------------- -- 2.39.5