diff options
| author | Peter Eisentraut | 2018-02-17 01:44:15 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2018-03-16 17:18:06 +0000 |
| commit | 04700b685f31508036456bea4d92533e5ceee9d6 (patch) | |
| tree | f3fc6cddf9f5764decbaa76c5c5423fdcd873a36 /src/include/access | |
| parent | 8d47a908626bf0800dc6a01f4ff2b2bc15cdaf86 (diff) | |
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>
Diffstat (limited to 'src/include/access')
| -rw-r--r-- | src/include/access/xact.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h index 6445bbc46f3..4a1307a4f01 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.h @@ -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); |
