diff options
author | Etsuro Fujita <efujita@postgresql.org> | 2022-06-09 19:30:00 +0900 |
---|---|---|
committer | Etsuro Fujita <efujita@postgresql.org> | 2022-06-09 19:30:00 +0900 |
commit | 4a8a5dd7f59cd8dd9969cef1969cb5f7c5124eec (patch) | |
tree | d4e69a83e9f13eb608f5a3b4b49a9079fd0cbf98 /src/backend/access/gist/gistvacuum.c | |
parent | e77de23fbb0f4ef27090c144edcfa889bb2a06d5 (diff) | |
download | postgresql-4a8a5dd7f59cd8dd9969cef1969cb5f7c5124eec.tar.gz postgresql-4a8a5dd7f59cd8dd9969cef1969cb5f7c5124eec.zip |
Improve comments for trivial_subqueryscan().
This function can be called from mark_async_capable_plan(), a helper
function for create_append_plan(), before set_subqueryscan_references(),
to determine the triviality of a SubqueryScan that is a child of an
Append plan node, which is done before doing finalize_plan() on the
SubqueryScan (if necessary) and set_plan_references() on the subplan,
unlike when called from set_subqueryscan_references(). The reason why
this is safe wouldn't be that obvious, so add comments explaining this.
Follow-up for commit c2bb02bc2.
Reviewed by Zhihong Yu.
Discussion: https://postgr.es/m/CAPmGK17%2BGiJBthC6va7%2B9n6t75e-M1N0U18YB2G1B%2BE5OdrNTA%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions