Re: Creation of temporary tables on read-only standby servers - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Creation of temporary tables on read-only standby servers
Date
Msg-id 20101019190103.GA12214@svana.org
Whole thread Raw
In response to Re: Creation of temporary tables on read-only standby servers  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Creation of temporary tables on read-only standby servers  (Robert Haas <robertmhaas@gmail.com>)
Re: Creation of temporary tables on read-only standby servers  (Jim Nasby <jim@nasby.net>)
List pgsql-hackers
On Tue, Oct 19, 2010 at 02:52:01PM -0400, Robert Haas wrote:
> Well, temp tables really want a separate set of XIDs with a separate
> CLOG, too.  Admittedly, they don't necessarily need WAL, if you can
> make them work without catalog entries, but that's not so easy either.

At one point there was the idea to have a sort of permanent temporary
tables which would have a pg_class entry but each session would have
its own copy. Replicated slaves would then also be able to use this
construction.

Doesn't help with the XIDs though.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patriotism is when love of your own people comes first; nationalism,
> when hate for people other than your own comes first.
>                                       - Charles de Gaulle

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: max_wal_senders must die
Next
From: Robert Haas
Date:
Subject: Re: Creation of temporary tables on read-only standby servers