pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: ExtendBufferedWhat -> BufferManagerRelation. 2+ messages / 1 participants [nested] [flat]
* pgsql: ExtendBufferedWhat -> BufferManagerRelation. @ 2023-08-23 01:13 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Thomas Munro @ 2023-08-23 01:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org ExtendBufferedWhat -> BufferManagerRelation. Commit 31966b15 invented a way for functions dealing with relation extension to accept a Relation in online code and an SMgrRelation in recovery code. It seems highly likely that future bufmgr.c interfaces will face the same problem, and need to do something similar. Generalize the names so that each interface doesn't have to re-invent the wheel. Back-patch to 16. Since extension AM authors might start using the constructor macros once 16 ships, we agreed to do the rename in 16 rather than waiting for 17. Reviewed-by: Peter Geoghegan <pg@bowt.ie> Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CA%2BhUKG%2B6tLD2BhpRWycEoti6LVLyQq457UL4ticP5xd8LqHySA%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/711479115836b2180f50c00bbf0773220848a7f5 Modified Files -------------- contrib/bloom/blutils.c | 2 +- src/backend/access/brin/brin.c | 4 +- src/backend/access/brin/brin_revmap.c | 2 +- src/backend/access/gin/gininsert.c | 4 +- src/backend/access/gin/ginutil.c | 2 +- src/backend/access/gist/gist.c | 2 +- src/backend/access/gist/gistutil.c | 2 +- src/backend/access/hash/hashpage.c | 2 +- src/backend/access/heap/hio.c | 2 +- src/backend/access/heap/visibilitymap.c | 2 +- src/backend/access/nbtree/nbtpage.c | 2 +- src/backend/access/spgist/spgutils.c | 2 +- src/backend/access/transam/xlogutils.c | 2 +- src/backend/commands/sequence.c | 2 +- src/backend/storage/buffer/bufmgr.c | 112 +++++++++++++++--------------- src/backend/storage/buffer/localbuf.c | 10 +-- src/backend/storage/freespace/freespace.c | 2 +- src/include/storage/buf_internals.h | 2 +- src/include/storage/bufmgr.h | 20 +++--- src/tools/pgindent/typedefs.list | 2 +- 20 files changed, 90 insertions(+), 90 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: ExtendBufferedWhat -> BufferManagerRelation. @ 2023-08-23 01:13 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Thomas Munro @ 2023-08-23 01:13 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org ExtendBufferedWhat -> BufferManagerRelation. Commit 31966b15 invented a way for functions dealing with relation extension to accept a Relation in online code and an SMgrRelation in recovery code. It seems highly likely that future bufmgr.c interfaces will face the same problem, and need to do something similar. Generalize the names so that each interface doesn't have to re-invent the wheel. Back-patch to 16. Since extension AM authors might start using the constructor macros once 16 ships, we agreed to do the rename in 16 rather than waiting for 17. Reviewed-by: Peter Geoghegan <pg@bowt.ie> Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/CA%2BhUKG%2B6tLD2BhpRWycEoti6LVLyQq457UL4ticP5xd8LqHySA%40mail.gmail.com Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f58af9f416f95b1b396aab55c5978f277fe13ac7 Modified Files -------------- contrib/bloom/blutils.c | 2 +- src/backend/access/brin/brin.c | 4 +- src/backend/access/brin/brin_revmap.c | 2 +- src/backend/access/gin/gininsert.c | 4 +- src/backend/access/gin/ginutil.c | 2 +- src/backend/access/gist/gist.c | 2 +- src/backend/access/gist/gistutil.c | 2 +- src/backend/access/hash/hashpage.c | 2 +- src/backend/access/heap/hio.c | 2 +- src/backend/access/heap/visibilitymap.c | 2 +- src/backend/access/nbtree/nbtpage.c | 2 +- src/backend/access/spgist/spgutils.c | 2 +- src/backend/access/transam/xlogutils.c | 2 +- src/backend/commands/sequence.c | 2 +- src/backend/storage/buffer/bufmgr.c | 112 +++++++++++++++--------------- src/backend/storage/buffer/localbuf.c | 10 +-- src/backend/storage/freespace/freespace.c | 2 +- src/include/storage/buf_internals.h | 2 +- src/include/storage/bufmgr.h | 20 +++--- src/tools/pgindent/typedefs.list | 2 +- 20 files changed, 90 insertions(+), 90 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2023-08-23 01:13 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-08-23 01:13 pgsql: ExtendBufferedWhat -> BufferManagerRelation. Thomas Munro <tmunro@postgresql.org> 2023-08-23 01:13 pgsql: ExtendBufferedWhat -> BufferManagerRelation. Thomas Munro <tmunro@postgresql.org>
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