* Close all relations opened by ExecGetRangeTableRelation(). * * We do not release any locks we might hold on those rels. */
| 2680 | * We do not release any locks we might hold on those rels. |
| 2681 | */ |
| 2682 | void |
| 2683 | ExecCloseRangeTableRelations(EState *estate) |
| 2684 | { |
| 2685 | int i; |
| 2686 | |
| 2687 | for (i = 0; i < estate->es_range_table_size; i++) |
| 2688 | { |
| 2689 | if (estate->es_relations[i]) |
| 2690 | table_close(estate->es_relations[i], NoLock); |
| 2691 | } |
| 2692 | } |
| 2693 | |
| 2694 | /* ---------------------------------------------------------------- |
| 2695 | * ExecutePlan |
no test coverage detected