Re: global temporary tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: global temporary tables
Дата
Msg-id 19874.1272164562@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: global temporary tables  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: global temporary tables
Re: global temporary tables
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Pushing it into the RelFileNode has some advantages in terms of being
> able to get at the information from everywhere, but one thing that
> makes me think that's probably not a good decision is that we somtimes
> WAL-log relfilenodes.  And WAL-logging the value of the isTemp flag is
> a waste, because if we're WAL-logging, it's zero.

Yeah.  I think we also use RelFileNode as a hash tag in places, and
so adding a bool to it would be problematic for a couple of reasons:
possibly uninitialized pad bytes, and uselessly incorporating more bytes
into the hash calculation.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: global temporary tables
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: global temporary tables