pgsql: Pass down information on table modification to scan nodes
| От | Melanie Plageman |
|---|---|
| Тема | pgsql: Pass down information on table modification to scan nodes |
| Дата | |
| Msg-id | E1w7GRR-002BFI-07@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Pass down information on table modification to scan nodes Pass down information to sequential scan, index [only] scan, bitmap table scan, sample scan, and TID range scan nodes on whether or not the query modifies the relation being scanned. A later commit will use this information to update the VM during on-access pruning only if the relation is not modified by the query. Author: Melanie Plageman <melanieplageman@gmail.com> Reviewed-by: Andres Freund <andres@anarazel.de> Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru> Reviewed-by: Tomas Vondra <tomas@vondra.me> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/4379FDA3-9446-4E2C-9C15-32EFE8D4F31B%40yandex-team.ru Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/50eb5faea2959125a575bae0a062ccb33b49c43d Modified Files -------------- src/backend/executor/execUtils.c | 21 +++++++++++++++++++++ src/backend/executor/nodeBitmapHeapscan.c | 3 ++- src/backend/executor/nodeIndexonlyscan.c | 9 ++++++--- src/backend/executor/nodeIndexscan.c | 12 ++++++++---- src/backend/executor/nodeSamplescan.c | 3 ++- src/backend/executor/nodeSeqscan.c | 10 +++++++--- src/backend/executor/nodeTidrangescan.c | 11 ++++++++--- src/include/access/tableam.h | 3 +++ src/include/executor/executor.h | 2 ++ 9 files changed, 59 insertions(+), 15 deletions(-)
В списке pgsql-committers по дате отправления: