Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL
Дата
Msg-id 162867790707012209p737ab1bx53dce461ea611aec@mail.gmail.com
обсуждение исходный текст
Ответ на Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > I have question. Is correct implementation of global temp in Oracle or
> > Firebird, where content of glob.temp table is session visible and
> > metadata of g.t.t is persistent?
>
> It's correct per spec.  Whether it's more useful than what we do is
> highly debatable --- it forces all sessions to use the same definition
> of any given temp table name, which is a bit silly for something that's
> supposed to support session-local data.
>

hmm. ALTER OR DROP is really strange. By contrast others op can be
relative simple - maybe only change in heap_insert and
relationisvisible.

Thenk you

Pavel Stehule


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: todo: Hash index creation
Следующее
От: Eric
Дата:
Сообщение: Re: GiST consistent function, expected arguments; multi-dimensional indexes