Slight refactor for ExecOpenScanRelation(): we can use

Neil Conway <neilc@samurai.com>

Commit: dffad0285672af8a65a6d8d6b01d6870435e40e4
Author: Neil Conway <neilc@samurai.com>
Date: 2007-07-27T19:09:04Z
Releases: 8.3.0
Slight refactor for ExecOpenScanRelation(): we can use
ExecRelationIsTargetRelation() to check if the relation is a target
rel, rather than scanning through the result relation array ourselves.

Files

PathChange+/−
src/backend/executor/execUtils.c modified +6 −15