pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Get heap page max offset with buffer lock held. 3+ messages / 1 participants [nested] [flat]
* pgsql: Get heap page max offset with buffer lock held. @ 2020-12-31 01:22 Peter Geoghegan <pg@bowt.ie> 0 siblings, 0 replies; 3+ messages in thread From: Peter Geoghegan @ 2020-12-31 01:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Get heap page max offset with buffer lock held. On further reflection it seems better to call PageGetMaxOffsetNumber() after acquiring a buffer lock on the page. This shouldn't really matter, but doing it this way is cleaner. Follow-up to commit 42288174. Backpatch: 12-, just like commit 42288174 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/32d6287d2eef6b6a4dde07e0513f3e4f321792ad Modified Files -------------- src/backend/access/heap/heapam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Get heap page max offset with buffer lock held. @ 2020-12-31 01:22 Peter Geoghegan <pg@bowt.ie> 0 siblings, 0 replies; 3+ messages in thread From: Peter Geoghegan @ 2020-12-31 01:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Get heap page max offset with buffer lock held. On further reflection it seems better to call PageGetMaxOffsetNumber() after acquiring a buffer lock on the page. This shouldn't really matter, but doing it this way is cleaner. Follow-up to commit 42288174. Backpatch: 12-, just like commit 42288174 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/55e5352266b1edc943a2a57a5d349aac73bac1a2 Modified Files -------------- src/backend/access/heap/heapam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Get heap page max offset with buffer lock held. @ 2020-12-31 01:22 Peter Geoghegan <pg@bowt.ie> 0 siblings, 0 replies; 3+ messages in thread From: Peter Geoghegan @ 2020-12-31 01:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Get heap page max offset with buffer lock held. On further reflection it seems better to call PageGetMaxOffsetNumber() after acquiring a buffer lock on the page. This shouldn't really matter, but doing it this way is cleaner. Follow-up to commit 42288174. Backpatch: 12-, just like commit 42288174 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5f95664e191974d275381577db87858cc121e0f4 Modified Files -------------- src/backend/access/heap/heapam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-12-31 01:22 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-12-31 01:22 pgsql: Get heap page max offset with buffer lock held. Peter Geoghegan <pg@bowt.ie> 2020-12-31 01:22 pgsql: Get heap page max offset with buffer lock held. Peter Geoghegan <pg@bowt.ie> 2020-12-31 01:22 pgsql: Get heap page max offset with buffer lock held. Peter Geoghegan <pg@bowt.ie>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox