pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>
Subject: Re: Creation of temporary tables on read-only standby servers
Date: Mon, 18 Oct 2010 21:17:24 +0200
Message-ID: <201010182117.24768.andres@anarazel.de> (raw)
In-Reply-To: <22902.1287425161@sss.pgh.pa.us>
References: <201010181751.o9IHpvP18317@momjian.us>
	<22902.1287425161@sss.pgh.pa.us>

On Monday 18 October 2010 20:06:01 Tom Lane wrote:
> 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.
Hm. Wouldnt it be possible to use virtual xids for that purpose? They are 
never seen outside of that session anyway...

Andres



view thread (27+ messages)  latest in thread

Message-ID: <201010182117.24768.andres@anarazel.de>
Permalink:  ../201010182117.24768.andres@anarazel.de/
Also on:    postgresql.org/message-id/201010182117.24768.andres@anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, bruce@momjian.us
  Subject: Re: Creation of temporary tables on read-only standby servers
  In-Reply-To: <201010182117.24768.andres@anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox