On Tue, Jun 7, 2011 at 11:50 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Patch along these lines attached.
>
> Frankly, I find this quite ugly, and much prefer the general approach of
> your previous patch in <BANLkTim433vF5HWjbJ0FSWm_-xA8DDaGNg@mail.gmail.co=
m>.
>
> However, I don't like where you put the execution-time test there. =A0I'd
> put it in ExecOpenScanRelation instead, so that it covers both seqscan
> and indexscan accesses.
Ah, OK. I was wondering if there was a better place. I'll do it that
way, then.
--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company