git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4331a11) | patch
Fix typo in GetRunningTransactionData()
Wed, 3 Jul 2024 23:05:27 +0000 (02:05 +0300)
Wed, 3 Jul 2024 23:05:27 +0000 (02:05 +0300)
commit 6c1af5482e6943a5f29b7f4ca773c720ec8202b0
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
src/backend/storage/ipc/procarray.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /