git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 025e7e1) | patch
Rename alloc/free functions in reorderbuffer.c
2025年3月12日 20:03:39 +0000 (22:03 +0200)
2025年3月12日 20:03:39 +0000 (22:03 +0200)
commit ac4494646daee27df20f7cded3ad49be24e9a98c
Rename alloc/free functions in reorderbuffer.c

There used to be bespoken pools for these structs to reduce the
palloc/pfree overhead, but that was ripped out a long time ago and
replaced with the generic, cheaper generational memory allocator
(commit a4ccc1cef5). The Get/Return terminology made sense with the
pools, as you "got" an object from the pool and "returned" it later,
but now it just looks weird. Rename to Alloc/Free.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/c9e43d2d-8e83-444f-b111-430377368989@iki.fi
src/backend/replication/logical/decode.c diff | blob | blame | history
src/backend/replication/logical/reorderbuffer.c diff | blob | blame | history
src/include/replication/reorderbuffer.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /