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

From Tom Lane
Subject Re: Creation of temporary tables on read-only standby servers
Date
Msg-id 22902.1287425161@sss.pgh.pa.us
Whole thread Raw
In response to Creation of temporary tables on read-only standby servers  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Creation of temporary tables on read-only standby servers
Re: Creation of temporary tables on read-only standby servers
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Currently it isn't possible to create temporary tables on read-only
> standby servers, and I don't see it listed on the TODO list.  Can I add
> it?

Not unless you have some credible concept for how it might ever be
implemented.  You can't create temp tables because you can't modify
system catalogs, and if you did somehow create them you couldn't put
anything in them because you can't generate XIDs on a slave ... much
less commit them.  We have talked about ways that temp tables might be
created without touching the "real" system catalogs, but the XID issue
seems a complete showstopper.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: Creation of temporary tables on read-only standby servers
Next
From: Robert Haas
Date:
Subject: Re: Floating-point timestamps versus Range Types