aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/time/snapmgr.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-02-16 20:44:15 -0500
committerPeter Eisentraut <peter_e@gmx.net>2018-03-16 13:18:06 -0400
commit04700b685f31508036456bea4d92533e5ceee9d6 (patch)
treef3fc6cddf9f5764decbaa76c5c5423fdcd873a36 /src/backend/utils/time/snapmgr.c
parent8d47a908626bf0800dc6a01f4ff2b2bc15cdaf86 (diff)
downloadpostgresql-04700b685f31508036456bea4d92533e5ceee9d6.tar.gz
postgresql-04700b685f31508036456bea4d92533e5ceee9d6.zip
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/backend/utils/time/snapmgr.c')
-rw-r--r--src/backend/utils/time/snapmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c
index e58c69dbd73..4b45d3cccd2 100644
--- a/src/backend/utils/time/snapmgr.c
+++ b/src/backend/utils/time/snapmgr.c
@@ -1171,7 +1171,7 @@ ExportSnapshot(Snapshot snapshot)
char pathtmp[MAXPGPATH];
/*
- * It's tempting to call RequireTransactionChain here, since it's not very
+ * It's tempting to call RequireTransactionBlock here, since it's not very
* useful to export a snapshot that will disappear immediately afterwards.
* However, we haven't got enough information to do that, since we don't
* know if we're at top level or not. For example, we could be inside a