Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 5A0BF633F1C for ; Mon, 26 Apr 2010 16:54:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 67638-02 for ; Mon, 26 Apr 2010 19:54:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail149058.authsmtp.co.uk (outmail149058.authsmtp.co.uk [62.13.149.58]) by mail.postgresql.org (Postfix) with ESMTP id 8008A633F2A for ; Mon, 26 Apr 2010 16:54:11 -0300 (ADT) Received: from mail-c187.authsmtp.com (mail-c187.authsmtp.com [62.13.128.33]) by punt4.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id o3QJs8dT021853; Mon, 26 Apr 2010 20:54:08 +0100 (BST) Received: from [192.168.0.2] (88-110-156-192.dynamic.dsl.as9105.com [88.110.156.192]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id o3QJs2Uc057785; Mon, 26 Apr 2010 20:54:03 +0100 (BST) Subject: Re: global temporary tables From: Simon Riggs To: Tom Lane Cc: Robert Haas , pgsql-hackers@postgresql.org In-Reply-To: <12163.1272310827@sss.pgh.pa.us> References: <1272148142.4161.1598.camel@ebony> <1272181795.4161.1604.camel@ebony> <1272200241.4161.1670.camel@ebony> <1272310247.4161.5081.camel@ebony> <12163.1272310827@sss.pgh.pa.us> Content-Type: text/plain Date: Mon, 26 Apr 2010 20:50:53 +0100 Message-Id: <1272311453.4161.5143.camel@ebony> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Server-Quench: 77576b10-516d-11df-ab46-001185d377ca X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZOTQEd DAteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksadRtFagNbbElD HGQLWlREUl17XGd/ awkfZQ1DY0tOQQRv VlZIS1BNEQ1vHhxP WR1/KFpwElZGfXl3 bUMsW3dYWgp9ckN6 RBxVFXADZGE0dWEe BBZFJlFQdh5Kfh5E YlUrV3QKMjRJBC9q VzwTFhsSEA9kHWxa RgYHJFZaXUsOBjkm TgoTVSkmF0kIXE0A X-Authentic-SMTP: 61633235383639.1000:706/Kp X-AuthFastPath: 255 X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201004/1222 X-Sequence-Number: 161334 On Mon, 2010-04-26 at 15:40 -0400, Tom Lane wrote: > Simon Riggs writes: > > On Sun, 2010-04-25 at 11:35 -0400, Robert Haas wrote: > >> And I don't > >> think you can even get that far, because I don't think too many people > >> here are going to say that we shouldn't add global temporary tables > >> unless we can also make them work with Hot Standby. > > > The policy round here for some time has been that when we implement > > things we make them work fully and seamlessly. I don't see why Hot > > Standby would be singled out any more than any other feature, say > > Windows support or tablespaces should be occasionally ignored. > > The current definition of Hot Standby is that it's a *read only* > behavior. Not read mostly. What you are proposing is a rather > fundamental change in the behavior of HS, and it doesn't seem to me > that it should be on the head of anybody else to make it work. That's a dangerous precedent you just set. -- Simon Riggs www.2ndQuadrant.com