Re: Expression Evaluator used for creating the plan tree / stmt ?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Vaibhav Kaushal <vaibhavkaushal123(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Expression Evaluator used for creating the plan tree / stmt ?
Date: 2011-05-25 17:32:44
Message-ID: BANLkTinOFoAe-NAz63BOpcPFCPmihBOuQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 25, 2011 at 12:34 PM, Vaibhav Kaushal
<vaibhavkaushal123(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-05-25 17:33:41 Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
Previous Message Robert Haas 2011-05-25 17:31:03 Re: [ADMIN] pg_class reltuples/relpages not updated by autovacuum/vacuum