Re: [HACKERS] TIME QUALIFICATION - Mailing list pgsql-hackers

From jwieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] TIME QUALIFICATION
Date
Msg-id m10Asxo-000EBRC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Re: [HACKERS] TIME QUALIFICATION  (jwieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] TIME QUALIFICATION  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Just a little question:

>
> Vadim wrote:
>
> > Ok. If you feel that QueryIds is easier way to go then do it.
> > In any case some preprocessing of plan tree just before execution
> > will be required.
> > BTW, why not use CommandIds ?
>

    For  that  preprocessing  required  to  associate  RTE's with
    snapshots I need the exact output of the  rewrite  system  at
    ExecutorStart() time, so I'm able to find all the RTE's.

    So  far  I've found that the planner NULL's out subselects in
    _make_subplan().  A first (very little) test showed, that  it
    seems  to  work without doing so too.  Who coded that and why
    is it done there?

    Does anyone know about other places in the code mucking  with
    the  parsetrees  after  I'm  done  with  them  in the rewrite
    system?


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #

pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [HACKERS] interface libpq Makefile.in patch
Next
From: "D'Arcy" "J.M." Cain
Date:
Subject: Re: [SQL] RULE questions.