Re: global temporary tables

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: global temporary tables
Дата
Msg-id 1272181795.4161.1604.camel@ebony
обсуждение исходный текст
Ответ на Re: global temporary tables  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: global temporary tables
Список pgsql-hackers
On Sat, 2010-04-24 at 19:01 -0400, Robert Haas wrote:

> There is one major problem, though: assigning a
> scratch relfilenode to the temporary table requires generating an OID,
> which we currently have no way to allow on the standby.

Why not have an unlogged counter, which resets each system start, using
same datatype as an oid. There's no necessity for the relfilenode to be
an actual oid is there?

That way we could use it on standbys also.

-- Simon Riggs           www.2ndQuadrant.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: global temporary tables
Следующее
От: Bernd Helmle
Дата:
Сообщение: Re: psql: Add setting to make '+' on \d implicit