Implementation of keyword ignore: using hint string

This commit is contained in:
teooooozhang
2022-06-16 19:47:25 +08:00
parent 17c986d684
commit a8da82a0fb
54 changed files with 4973 additions and 128 deletions

View File

@ -196,6 +196,9 @@ TupleTableSlot* ExecScan(ScanState* node, ExecScanAccessMtd access_mtd, /* funct
* Found a satisfactory scan tuple.
*/
if (proj_info != NULL) {
if (node->ps.state && node->ps.state->es_plannedstmt) {
econtext->can_ignore = node->ps.state->es_plannedstmt->hasIgnore;
}
/*
* Form a projection tuple, store it in the result tuple slot
* and return it --- unless we find we can project no tuples