Re: How to inspect tuples during execution of a plan?

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: How to inspect tuples during execution of a plan?
Дата
Msg-id 3c27dc2f-dfe7-4c57-d891-9630b18f1507@BlueTreble.com
обсуждение исходный текст
Ответ на Re: How to inspect tuples during execution of a plan?  (Ernst-Georg Schmid <ernst.georg.schmid@googlemail.com>)
Список pgsql-hackers
On 10/12/16 2:58 AM, Ernst-Georg Schmid wrote:
>> Either of those would do, if you want to write change the executor.
>> >
> I used the ExeceutorRun_hook and it seems to work. The drawback is,
> that I have to provide my own implementation of ExecutePlan() which
> could make it incompatible over versions of PostgreSQL. I don't know
> how stable that function is over time.

There might be another possibility, which would be to use one of the 
earlier hooks to change the query destination, and to implement a custom 
receiver.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Conflicting constraint being merged
Следующее
От: Merlin Moncure
Дата:
Сообщение: emergency outage requiring database restart