Re: [HACKERS] Passing query string to workers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Passing query string to workers
Date
Msg-id 6914.1484194335@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Passing query string to workers  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] Passing query string to workers  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Jan 11, 2017 at 6:36 PM, Tom Lane <tgl@sss.pgh.pa.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



pgsql-hackers by date:

Previous
From: Pavan Deolasee
Date:
Subject: Re: [HACKERS] WARM and indirect indexes
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] many copies of atooid() and oid_cmp()