Re: [HACKERS] Passing query string to workers

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] Passing query string to workers
Дата
Msg-id CA+TgmoaymWup8Qg_0xquvdU8rQnAGYoDd5oJ3MsQ4MBgUfiiGg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Passing query string to workers  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Passing query string to workers  (Rafia Sabih <rafia.sabih@enterprisedb.com>)
Список pgsql-hackers
On Wed, Jan 11, 2017 at 11:12 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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?

OK, that sounds good.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: tushar
Дата:
Сообщение: Re: [HACKERS] Parallel bitmap heap scan
Следующее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: [HACKERS] Patch to implement pg_current_logfile() function