Jeff Janes <jeff(dot)janes(at)gmail(dot)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