aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor/execdebug.h
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2024-03-12 10:25:27 +0530
committerAmit Kapila <akapila@postgresql.org>2024-03-12 10:25:27 +0530
commit397cd0b3c7d18c21daea175a8280afea723f4eac (patch)
treeb0787b123309e679ccd94b1db74362aace74eadc /src/include/executor/execdebug.h
parent2c8118ee5d980e11f73683fcda2329c323aa381e (diff)
downloadpostgresql-397cd0b3c7d18c21daea175a8280afea723f4eac.tar.gz
postgresql-397cd0b3c7d18c21daea175a8280afea723f4eac.zip
Remove redundant fetch of the recent flush pointer in WalSndWaitForWal.
In WalSndWaitForWal(), we fetch a recent flush pointer both outside the loop and inside the loop. But we start using RecentFlushPtr only after we fetch it inside the loop. So we can remove one outside the loop. Author: Shveta Malik Reviewed-by: Bertrand Drouvot, Matthias van de Meent, Amit Kapila Discussion: https://postgr.es/m/CAJpy0uBSCQz1yMD-WiEthzEe23dti2-Kr_pitVb7vAPFbFKm=A@mail.gmail.com
Diffstat (limited to 'src/include/executor/execdebug.h')
0 files changed, 0 insertions, 0 deletions