mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +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:
@@ -186,11 +186,11 @@ vacuum(int options, List *relations, VacuumParams *params,
|
||||
*/
|
||||
if (options & VACOPT_VACUUM)
|
||||
{
|
||||
PreventTransactionChain(isTopLevel, stmttype);
|
||||
PreventInTransactionBlock(isTopLevel, stmttype);
|
||||
in_outer_xact = false;
|
||||
}
|
||||
else
|
||||
in_outer_xact = IsInTransactionChain(isTopLevel);
|
||||
in_outer_xact = IsInTransactionBlock(isTopLevel);
|
||||
|
||||
/*
|
||||
* Due to static variables vac_context, anl_context and vac_strategy,
|
||||
|
Reference in New Issue
Block a user