Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL
Date
Msg-id 162867790707021117p6b65eeb8ha985ec35eed6a237@mail.gmail.com
Whole thread Raw
In response to Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I

2007/7/2, Tom Lane <tgl@sss.pgh.pa.us>:
> Jim Nasby <decibel@decibel.org> writes:
> > I've often thought that having global temp tables would be a really
> > good idea, since it would drastically reduce the need to vacuum
> > catalog tables,
>
> I rather doubt that.  The most likely implementation would involve
> cloning a "template" entry into pg_class.
>

I am working on prototype, and cloning of template entry is propably
one possible solution. Every session's clon needs own statistic and
then needs own table oid.

Nice a day
Pavel Stehule


pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: SetBufferCommitInfoNeedsSave and race conditions
Next
From: Tom Lane
Date:
Subject: SOLVED: unexpected EIDRM on Linux