Re: check for interrupts in set_rtable_names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: check for interrupts in set_rtable_names
Дата
Msg-id 8792.1447456432@sss.pgh.pa.us
обсуждение исходный текст
Ответ на check for interrupts in set_rtable_names  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: check for interrupts in set_rtable_names
Список pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> Someone sent my server a deranged query, it tripped my
> auto_explain.log_min_duration setting, that hit some kind of
> pathological case while assigning aliases, and now it sits
> uninterruptibly in set_rtable_names for hours.

> Is there any reason we can't check for interrupts in set_rtable_names,
> like the attached?

There's probably no reason not to do that, but I'd be much more interested
in eliminating the slowness to begin with ...
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Inaccurate results from numeric ln(), log(), exp() and pow()
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: check for interrupts in set_rtable_names