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

From Greg Stark
Subject Re: Creation of temporary tables on read-only standby servers
Date
Msg-id AANLkTinkt3oO2B+rL25PDRk=Z2Nz8KrowNhm08Xo7Esq@mail.gmail.com
Whole thread Raw
In response to Re: Creation of temporary tables on read-only standby servers  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Creation of temporary tables on read-only standby servers
List pgsql-hackers
On Tue, Oct 19, 2010 at 3:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Relcache entries alone are not gonna work.  There is way too much stuff
> that assumes that tables are correctly represented in the system
> catalogs.
>

Well we're talking about multiple things now. In the global temporary
table case they *are* properly represented in the system catalogs.
Except for their local state such as the actual relfilenode all the
structural attributes are going to be accurate.

In the case of tables created locally on a slave, well, that's more complicated.

--
greg


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)
Next
From: Terry Laurenzo
Date:
Subject: Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)