Re: FKs on temp tables: hard, or just omitted?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FKs on temp tables: hard, or just omitted?
Дата
Msg-id 11787.1130607762@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: FKs on temp tables: hard, or just omitted?  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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 по дате отправления:

Предыдущее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: 8.1 Release Candidate 1 Coming ...
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: The argument for reinstating --as-needed