Re: Expression Evaluator used for creating the plan tree / stmt ? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Expression Evaluator used for creating the plan tree / stmt ?
Date
Msg-id BANLkTinOFoAe-NAz63BOpcPFCPmihBOuQg@mail.gmail.com
Whole thread Raw
In response to Re: Expression Evaluator used for creating the plan tree / stmt ?  (Vaibhav Kaushal <vaibhavkaushal123@gmail.com>)
List pgsql-hackers
On Wed, May 25, 2011 at 12:34 PM, Vaibhav Kaushal
<vaibhavkaushal123@gmail.com> wrote:
> But somehow the execevalvar is being called. When i changed the logic of its
> working to use slot_getattr instead of cute_datum_array for the first run /
> call, everything just worked!

This is what gdb is for... set a breakpoint on that function using "b
ExexEvalVar", and when it hits the breakpoint, use "bt" to see where
the call came from.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: [ADMIN] pg_class reltuples/relpages not updated by autovacuum/vacuum
Next
From: Robert Haas
Date:
Subject: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.