| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us> |
| Subject: | Re: Creation of temporary tables on read-only standby servers |
| Date: | 2010-10-18 19:17:24 |
| Message-ID: | 201010182117.24768.andres@anarazel.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Monday 18 October 2010 20:06:01 Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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.
Hm. Wouldnt it be possible to use virtual xids for that purpose? They are
never seen outside of that session anyway...
Andres
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-10-18 19:21:26 | Re: create tablespace fails silently, or succeeds improperly |
| Previous Message | Bruce Momjian | 2010-10-18 19:16:35 | Re: create tablespace fails silently, or succeeds improperly |