Re: EXPLAIN, utility statement parameters, and recent plpgsql changes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: EXPLAIN, utility statement parameters, and recent plpgsql changes
Date
Msg-id 29262.1263501757@sss.pgh.pa.us
Whole thread Raw
In response to Re: EXPLAIN, utility statement parameters, and recent plpgsql changes  (Dimitri Fontaine <dfontaine@hi-media.com>)
List pgsql-hackers
Dimitri Fontaine <dfontaine@hi-media.com> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> Well, the point of the hook is to change the results of parse
>> transformation, so just calling it doesn't do much --- you have to apply
>> the whole parse analysis process, *and keep the resulting tree*.

> Could that be done in the function, in the phase you call "doing initial
> parsing"?

Within copyParamList?  Seems like rather an abuse of the design ... it's
just supposed to copy the ParamListInfo, not editorialize on the entire
content of the portal.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Testing with concurrent sessions
Next
From: Jonas J
Date:
Subject: Re: dbt2-shell script problem