Re: BUG #6041: Unlogged table was created bad in slave node - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #6041: Unlogged table was created bad in slave node
Date
Msg-id 1306427067-sup-7622@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #6041: Unlogged table was created bad in slave node  (Euler Taveira de Oliveira <euler@timbira.com>)
Responses Re: BUG #6041: Unlogged table was created bad in slave node
List pgsql-bugs
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 <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: BUG #6041: Unlogged table was created bad in slave node
Next
From: Tom Lane
Date:
Subject: Re: BUG #6041: Unlogged table was created bad in slave node