forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit397cd0b
Amit Kapila
Remove redundant fetch of the recent flush pointer in WalSndWaitForWal.
In WalSndWaitForWal(), we fetch a recent flush pointer both outside theloop and inside the loop. But we start using RecentFlushPtr only after wefetch it inside the loop. So we can remove one outside the loop.Author: Shveta MalikReviewed-by: Bertrand Drouvot, Matthias van de Meent, Amit KapilaDiscussion:https://postgr.es/m/CAJpy0uBSCQz1yMD-WiEthzEe23dti2-Kr_pitVb7vAPFbFKm=A@mail.gmail.com1 parent2c8118e commit397cd0b
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1831 | 1831 | | |
1832 | 1832 | | |
1833 | 1833 | | |
1834 | | - | |
1835 | | - | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
1839 | | - | |
1840 | 1834 | | |
1841 | 1835 | | |
1842 | 1836 | | |
| |||
0 commit comments
Comments
(0)