Обсуждение: pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.

Поиск
Список
Период
Сортировка

pgsql: Remove nbtree BTreeTupleSetAltHeapTID() function.

От
Peter Geoghegan
Дата:
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(-)