diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-07-04 02:05:27 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-07-04 02:05:27 +0300 |
commit | 6c1af5482e6943a5f29b7f4ca773c720ec8202b0 (patch) | |
tree | 8c6b305bb25bcfc2734d8e505bf96097502d4af5 /src/backend/parser/parse_expr.c | |
parent | 4331a11c62eca7426ad4472be051fe512a04fc80 (diff) | |
download | postgresql-6c1af5482e6943a5f29b7f4ca773c720ec8202b0.tar.gz postgresql-6c1af5482e6943a5f29b7f4ca773c720ec8202b0.zip |
Fix typo in GetRunningTransactionData()
e85662df44 made GetRunningTransactionData() calculate the oldest running
transaction id within the current database. However, because of the typo,
the new code uses oldestRunningXid instead of oldestDatabaseRunningXid
in comparison before updating oldestDatabaseRunningXid. This commit fixes
that issue.
Reported-by: Noah Misch
Discussion: https://postgr.es/m/20240630231816.bf.nmisch%40google.com
Backpatch-through: 17
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions