Remove duplicate definition of TransactionId.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 7 Dec 2023 21:03:40 +0000 (06:03 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 7 Dec 2023 21:03:40 +0000 (06:03 +0900)
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

index cb37d33e3a4c085665f53c24175c3294f47318e3..af735ee17adf5be579d2aa21b9b25d786674eabf 100644 (file)
@@ -24,7 +24,6 @@
  * include/c.h
  */
 typedef uint32 SubTransactionId;
-typedef uint32 TransactionId;
 #define InvalidSubTransactionId     ((SubTransactionId) 0)
 
 /* ----------------------------------------------------------------