pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: yxq@o2.pl
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14785: Logical replication does not work after adding a column. Bug?
Date: Mon, 18 Sep 2017 10:23:47 -0400
Message-ID: <03e54401-2ea1-fa0c-3eec-54b6b930e225@2ndquadrant.com> (raw)
In-Reply-To: <def3109a-81b6-e6ab-e632-31c34434a90f@2ndquadrant.com>
References: <20170820191720.1454.19868@wrigleys.postgresql.org>
	<14aeb673-fded-e9dd-9e90-f04908f9eadf@2ndquadrant.com>
	<20170822193418.drjntpluvcidfqyf@alap3.anarazel.de>
	<4dfb4e26-9542-85d6-ff61-9e7080796b0e@2ndquadrant.com>
	<20170823163151.5dankkw7z72ltmvw@alap3.anarazel.de>
	<020d1ec1-70d6-a4e9-f7f6-ab7eed8f5985@2ndquadrant.com>
	<20170823213949.g7wpurzt6hbi3e5h@alap3.anarazel.de>
	<def3109a-81b6-e6ab-e632-31c34434a90f@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 9/13/17 09:46, Peter Eisentraut wrote:
> On 8/23/17 17:39, Andres Freund wrote:
>> I think we could actually kind of solve this by just ignoring pg_temp*
>> tables in the output plugin. Given we don't do DDL replication at this
>> point, that seems good enough. "all" we need is a way to make sure we're
>> not confusing the pg_temp* tables with a table the user has declared as
>> pg_temp - but we could check subscription state for that?
> 
> How about this patch?  There is some heuristic element in there, but it
> seems better than failing as we currently do.

Thoughts on this patch?  Might be good to include in PG10.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (20+ messages)  latest in thread

Message-ID: <03e54401-2ea1-fa0c-3eec-54b6b930e225@2ndquadrant.com>
Permalink:  ../03e54401-2ea1-fa0c-3eec-54b6b930e225@2ndquadrant.com/
Also on:    postgresql.org/message-id/03e54401-2ea1-fa0c-3eec-54b6b930e225@2ndquadrant.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, andres@anarazel.de, yxq@o2.pl
  Subject: Re: BUG #14785: Logical replication does not work after adding a column. Bug?
  In-Reply-To: <03e54401-2ea1-fa0c-3eec-54b6b930e225@2ndquadrant.com>
  References: <20170820191720.1454.19868@wrigleys.postgresql.org> <14aeb673-fded-e9dd-9e90-f04908f9eadf@2ndquadrant.com> <20170822193418.drjntpluvcidfqyf@alap3.anarazel.de> <4dfb4e26-9542-85d6-ff61-9e7080796b0e@2ndquadrant.com> <20170823163151.5dankkw7z72ltmvw@alap3.anarazel.de> <020d1ec1-70d6-a4e9-f7f6-ab7eed8f5985@2ndquadrant.com> <20170823213949.g7wpurzt6hbi3e5h@alap3.anarazel.de> <def3109a-81b6-e6ab-e632-31c34434a90f@2ndquadrant.com> <03e54401-2ea1-fa0c-3eec-54b6b930e225@2ndquadrant.com>

* 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