Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 184C5B5DC6F for ; Thu, 26 May 2011 13:25:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 89163-01-9 for ; Thu, 26 May 2011 16:25:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 2BCA8B5DC1D for ; Thu, 26 May 2011 13:25:03 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 2288B348045; Thu, 26 May 2011 09:25:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7rP34Ud-kZh3; Thu, 26 May 2011 09:25:01 -0700 (PDT) Received: from perhan.alvh.no-ip.org (unknown [190.95.22.219]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id DFDB1348044; Thu, 26 May 2011 09:25:00 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 050CF6E49D; Thu, 26 May 2011 12:24:57 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: Emanuel , pgsql-bugs Subject: Re: BUG #6041: Unlogged table was created bad in slave node From: Alvaro Herrera To: Euler Taveira de Oliveira In-reply-to: <4DDE7905.6050406@timbira.com> References: <201105261137.p4QBbTlt077425@wwwmaster.postgresql.org> <4DDE7905.6050406@timbira.com> Date: Thu, 26 May 2011 12:24:57 -0400 Message-Id: <1306427067-sup-7622@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/190 X-Sequence-Number: 30329 Excerpts from Euler Taveira de Oliveira's message of jue may 26 12:00:05 -0400 2011: > Em 26-05-2011 08:37, Emanuel escreveu: > > > Description: Unlogged table was created bad in slave node > > > Unlogged table contents are not available to slave nodes [1]. > > > postgres=# select * from voidy ; > > ERROR: could not open file "base/12071/17034": No existe el archivo o > > directorio > > > I think we should emit the real cause in those cases, if possible (not too > much overhead). The message would be "Unlogged table content is not available > in standby server". I guess what it should do is create an empty file in the slave. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support