postgresql/src/include/nodes
Tomas Vondra 19d8e2308b Ignore BRIN indexes when checking for HOT updates
When determining whether an index update may be skipped by using HOT, we
can ignore attributes indexed by block summarizing indexes without
references to individual tuples that need to be cleaned up.

A new type TU_UpdateIndexes provides a signal to the executor to
determine which indexes to update - no indexes, all indexes, or only the
summarizing indexes.

This also removes rd_indexattr list, and replaces it with rd_attrsvalid
flag. The list was not used anywhere, and a simple flag is sufficient.

This was originally committed as 5753d4ee32, but then got reverted by
e3fcca0d0d because of correctness issues.

Original patch by Josef Simanek, various fixes and improvements by Tomas
Vondra and me.

Authors: Matthias van de Meent, Josef Simanek, Tomas Vondra
Reviewed-by: Tomas Vondra, Alvaro Herrera
Discussion: https://postgr.es/m/05ebcb44-f383-86e3-4f31-0a97a55634cf@enterprisedb.com
Discussion: https://postgr.es/m/CAFp7QwpMRGcDAQumN7onN9HjrJ3u4X3ZRXdGFT0K5G2JWvnbWg%40mail.gmail.com
2023-03-20 11:02:42 +01:00
..
.gitignore Automatically generate node support functions 2022-07-09 08:53:59 +02:00
bitmapset.h Require empty Bitmapsets to be represented as NULL. 2023-03-02 11:47:26 -05:00
execnodes.h Ignore BRIN indexes when checking for HOT updates 2023-03-20 11:02:42 +01:00
extensible.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
lockoptions.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
makefuncs.h Ignore BRIN indexes when checking for HOT updates 2023-03-20 11:02:42 +01:00
memnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Add files related to query jumbling in src/include/nodes/ for meson 2023-03-18 18:04:04 +09:00
miscnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
multibitmapset.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodeFuncs.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodes.h Mark more nodes with attribute no_query_jumble 2023-02-13 09:07:33 +09:00
params.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
parsenodes.h Support [NO] INDENT option in XMLSERIALIZE(). 2023-03-15 16:59:09 -04:00
pathnodes.h When removing a relation from the query, drop its RelOptInfo. 2023-02-13 13:35:38 -05:00
pg_list.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
plannodes.h Mark more nodes with attribute no_query_jumble 2023-02-13 09:07:33 +09:00
primnodes.h Support [NO] INDENT option in XMLSERIALIZE(). 2023-03-15 16:59:09 -04:00
print.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
queryjumble.h Move queryjumble.c code to src/backend/nodes/ 2023-01-21 11:48:37 +09:00
readfuncs.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
replnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
subscripting.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
supportnodes.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
tidbitmap.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
value.h Update copyright for 2023 2023-01-02 15:00:37 -05:00