pgsql: Simplify check of modified attributes in heap_update

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Simplify check of modified attributes in heap_update
Дата
Msg-id E1ctGzo-0005GN-3P@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Simplify check of modified attributes in heap_update

The old coding was getting more complicated as new things were added,
and it would be barely tolerable with upcoming WARM updates and other
future features such as indirect indexes.  The new coding incurs a small
performance cost in synthetic benchmark cases, and is barely measurable
in normal cases.  A much larger benefit is expected from WARM, which
could actually bolt its needs on top of the existing coding, but it is
much uglier and bug-prone than doing it on this new code.  Additional
optimization can be applied on top of this, if need be.

Reviewed-by: Pavan Deolasee, Amit Kapila, Mithun CY
Discussion: https://postgr.es/m/20161228232018.4hc66ndrzpz4g4wn@alvherre.pgsql
    https://postgr.es/m/CABOikdMJfz69dBNRTOZcB6s5A0tf8OMCyQVYQyR-WFFdoEwKMQ@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2fd8685e7fd9fddf16f99de1284a787d29781cc8

Modified Files
--------------
src/backend/access/heap/heapam.c | 197 ++++++++++++++-------------------------
1 file changed, 71 insertions(+), 126 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Mark more functions parallel-restricted.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Update copyright year in recently added files