1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-21 10:42:50 +03:00

ReadNewTransactionId() -> ReadNextTransactionId().

The new name conveys the effect better, is more consistent with similar
functions ReadNextMultiXactId(), ReadNextFullTransactionId(), and
matches the name of the variable that it reads.

Reported-by: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/CAH2-WzmVR4SakBXQUdhhPpMf1aYvZCnna5%3DHKa7DAgEmBAg%2B8g%40mail.gmail.com
This commit is contained in:
Thomas Munro
2021-02-15 13:03:10 +13:00
parent 8facf1ea00
commit c7ecd6af01
7 changed files with 14 additions and 14 deletions

View File

@@ -189,7 +189,7 @@ ginDeletePage(GinVacuumState *gvs, BlockNumber deleteBlkno, BlockNumber leftBlkn
* address.
*/
GinPageSetDeleted(page);
GinPageSetDeleteXid(page, ReadNewTransactionId());
GinPageSetDeleteXid(page, ReadNextTransactionId());
MarkBufferDirty(pBuffer);
MarkBufferDirty(lBuffer);