Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Wed, Jan 11, 2017 at 6:36 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> That would work, if you had a way to get at the active QueryDesc ...
>> but we don't pass that down to executor nodes.
> Hmm, that is a bit of a problem. Do you have a suggestion?
Copy that string pointer into the EState, perhaps?
regards, tom lane