pgpool2.git / summary / log / commit / refs

commit    10c8396215fdbbfebc222cd6a05b331cbba2dd7d
Author:   Tatsuo Ishii <ishii@sraoss.co.jp>
Date:     Thu Dec 07 21:03:40 2023 +0000

    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) /* ---------------------------------------------------------------- [parent: 9a46fafc754f]