]> git.ipfire.org Git - thirdparty/postgresql.git/commit
ExtendBufferedWhat -> BufferManagerRelation.
authorThomas Munro <tmunro@postgresql.org>
Wed, 23 Aug 2023 00:10:18 +0000 (12:10 +1200)
committerThomas Munro <tmunro@postgresql.org>
Wed, 23 Aug 2023 00:33:24 +0000 (12:33 +1200)
commitf58af9f416f95b1b396aab55c5978f277fe13ac7
treed7a2691430d3f120ff8290719dd2f3016e1001ce
parentd8cd49e992eb0d0f3d447d6b41866ce1b573b01d
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
20 files changed:
contrib/bloom/blutils.c
src/backend/access/brin/brin.c
src/backend/access/brin/brin_revmap.c
src/backend/access/gin/gininsert.c
src/backend/access/gin/ginutil.c
src/backend/access/gist/gist.c
src/backend/access/gist/gistutil.c
src/backend/access/hash/hashpage.c
src/backend/access/heap/hio.c
src/backend/access/heap/visibilitymap.c
src/backend/access/nbtree/nbtpage.c
src/backend/access/spgist/spgutils.c
src/backend/access/transam/xlogutils.c
src/backend/commands/sequence.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/buffer/localbuf.c
src/backend/storage/freespace/freespace.c
src/include/storage/buf_internals.h
src/include/storage/bufmgr.h
src/tools/pgindent/typedefs.list