Re: including PID or backend ID in relpath of temp rels - Mailing list pgsql-hackers

From Tom Lane
Subject Re: including PID or backend ID in relpath of temp rels
Date
Msg-id 20161.1273007558@sss.pgh.pa.us
Whole thread Raw
In response to Re: including PID or backend ID in relpath of temp rels  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: including PID or backend ID in relpath of temp rels
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> One possible thing we might do (bearing in mind that we might need to
> wall off access at multiple levels) would be to forbid creating a
> relcache entry for a non-local temprel.  That would, in turn, forbid
> doing pretty much anything to such a relation, although I'm not sure
> what else would get broken in the process.

Dropping temprels left behind by a crashed backend would get broken by
that; which is a deal-breaker, because we have to be able to clean those
up.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: GUCs that need restart
Next
From: Tom Lane
Date:
Subject: Re: including PID or backend ID in relpath of temp rels