Re: [BUG] Cannot flush buffers of temp table deleted from other session

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUG] Cannot flush buffers of temp table deleted from other session
Дата
Msg-id 1075844.1749670810@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [BUG] Cannot flush buffers of temp table deleted from other session
Список pgsql-hackers
Daniil Davydov <3danissimo@gmail.com> writes:
> Ability to do a DROP temporary table of other session leads to error :

[ shrug... ]  Don't do that.  A superuser is capable of doing lots
of things that will break the database, and this one hardly seems
like one of the worse ones.

> BTW, there are other bugs that can occur during interacting with other
> session temp tables. I described them and suggested corrections in
> this thread [1].

I doubt I'd agree that any such thing is a bug we need to fix.
You should not be attempting to touch other sessions' temp tables.
(If there's any path by which a non-superuser can do that, we
probably need to tighten some permission check somewhere.)

            regards, tom lane



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