Daniil Davydov <3daniss...@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


Reply via email to