mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Rename TransactionChain functions
We call this thing a "transaction block" everywhere except in a few functions, where it is mysteriously called a "transaction chain". In the SQL standard, a transaction chain is something different. So rename these functions to match the common terminology. Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
This commit is contained in:
@ -369,10 +369,10 @@ extern bool IsTransactionBlock(void);
|
||||
extern bool IsTransactionOrTransactionBlock(void);
|
||||
extern char TransactionBlockStatusCode(void);
|
||||
extern void AbortOutOfAnyTransaction(void);
|
||||
extern void PreventTransactionChain(bool isTopLevel, const char *stmtType);
|
||||
extern void RequireTransactionChain(bool isTopLevel, const char *stmtType);
|
||||
extern void WarnNoTransactionChain(bool isTopLevel, const char *stmtType);
|
||||
extern bool IsInTransactionChain(bool isTopLevel);
|
||||
extern void PreventInTransactionBlock(bool isTopLevel, const char *stmtType);
|
||||
extern void RequireTransactionBlock(bool isTopLevel, const char *stmtType);
|
||||
extern void WarnNoTransactionBlock(bool isTopLevel, const char *stmtType);
|
||||
extern bool IsInTransactionBlock(bool isTopLevel);
|
||||
extern void RegisterXactCallback(XactCallback callback, void *arg);
|
||||
extern void UnregisterXactCallback(XactCallback callback, void *arg);
|
||||
extern void RegisterSubXactCallback(SubXactCallback callback, void *arg);
|
||||
|
Reference in New Issue
Block a user