Re: FKs on temp tables: hard, or just omitted? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: FKs on temp tables: hard, or just omitted?
Date
Msg-id 11787.1130607762@sss.pgh.pa.us
Whole thread Raw
In response to Re: FKs on temp tables: hard, or just omitted?  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> You solve it by allowing other backends to lock and examine your
> temporary tables. But AIUI temporary tables are not stored in shared
> memory so how do you get a consistant view of it?

> Not unsolvable, but very tricky.

Right, the problem isn't that "it can't be done", it's that "it can't be
done without giving up most of the performance advantages of temp tables".
Which seems like a bad tradeoff, at least to me ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: 8.1 Release Candidate 1 Coming ...
Next
From: Martijn van Oosterhout
Date:
Subject: The argument for reinstating --as-needed