pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.
Дата
Msg-id E1jLxB2-0001xx-6m@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove nbtree BTreeTupleSetAltHeapTID() function.

Since heap TID is supposed to be just another key attribute to the
implementation, it doesn't make much sense to have separate
BTreeTupleSetNAtts() and BTreeTupleSetAltHeapTID() functions.  Merge the
two functions together.  This slightly simplifies _bt_truncate().

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/60cbd7751c1ec6ffdf2ffc520ddeb35cb2f2ed70

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c |  4 ++--
src/backend/access/nbtree/nbtsort.c   |  4 ++--
src/backend/access/nbtree/nbtutils.c  | 10 ++++++----
src/include/access/nbtree.h           | 36 ++++++++++++++++-------------------
4 files changed, 26 insertions(+), 28 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Allow users to limit storage reserved by replication slots
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Appease perlcritic