Re: [HACKERS] Different table schema in logical replication crashes - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: [HACKERS] Different table schema in logical replication crashes
Date
Msg-id CAHE3wgh9qLmjoOC4S5YO=FHq4C664Ny+n0qZbBpkJybdb7zeZQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Different table schema in logical replication crashes  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Responses Re: [HACKERS] Different table schema in logical replication crashes  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers

2017-04-14 22:36 GMT-03:00 Petr Jelinek <petr.jelinek@2ndquadrant.com>:
I tried something bit different which seems cleaner to me - use the
pstate->r_table instead of ad-hock locally made up range table and fill
that using standard addRangeTableEntryForRelation. Both in tablesync and
in DoCopy instead of the old coding.

Patch works fine. However, I don't see any documentation about supporting different schemas for logical replication. Is it an oversight?


--
   Euler Taveira                                   Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Re: logical replication and PANIC during shutdowncheckpoint in publisher
Next
From: Stas Kelvich
Date:
Subject: Re: [HACKERS] Logical replication - TRAP: FailedAssertion in pgstat.c