diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2012-11-13 15:58:05 -0300 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2012-11-13 15:58:05 -0300 |
commit | d0d58f7aa94986edbab6c000470707b90ef37d54 (patch) | |
tree | ef212f2808b27fc4dd846a311301be9ccafadff1 /src/backend/storage/ipc/procarray.c | |
parent | 634e148dcaa1ec77aba4f5eac883285e8f225268 (diff) |
Clarify docs on hot standby lock release
Andres Freund and Simon Riggs
Diffstat (limited to 'src/backend/storage/ipc/procarray.c')
-rw-r--r-- | src/backend/storage/ipc/procarray.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index f65e4383783..db917f8aa8d 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -1413,6 +1413,11 @@ GetSnapshotData(Snapshot snapshot) * We don't worry about updating other counters, we want to keep this as * simple as possible and leave GetSnapshotData() as the primary code for * that bookkeeping. + * + * Note that if any transaction has overflowed its cached subtransactions + * then there is no real need include any subtransactions. That isn't a + * common enough case to worry about optimising the size of the WAL record, + * and we may wish to see that data for diagnostic purposes anyway. */ RunningTransactions GetRunningTransactionData(void) |