Mil gracias Mart铆n por su repuesta, no le铆 la letra menuda de la
documentaci贸n! 馃

El dom., 14 de jul. de 2019 3:05 PM, Mart铆n Marqu茅s <mar...@2ndquadrant.com>
escribi贸:

> Buenas Hellmuth,
>
> El 12/7/19 a las 07:24, Hellmuth Vargas escribi贸:
> > Hola Alvaro
> >
> > Me llama la atenci贸n lo que menciona sobre las limitaciones del
> > particionamiento y la replicaci贸n l贸gica, no puede indicar a que
> > limitaciones se refiere... Estoy tambi茅n interesado en implementar una
> > soluci贸n basado en esto... De antemano muchas gracias
>
> Eso es porque la replicaci贸n l贸gica solo se puede hacer entre tablas
> f铆sicas. Tratar de replicar la table ra铆z de una partici贸n terminar谩 en
> un error as铆:
>
> ERROR:  logical replication target relation "public.mypartitiontable" is
> not a table
>
> Dicha restriccion esta en la documentacion de replicaci贸n l贸gica:
>
> https://www.postgresql.org/docs/11/logical-replication-restrictions.html
>
> ```
> Replication is only possible from base tables to base tables. That is,
> the tables on the publication and on the subscription side must be
> normal tables, not views, materialized views, partition root tables, or
> foreign tables. In the case of partitions, you can therefore replicate a
> partition hierarchy one-to-one, but you cannot currently replicate to a
> differently partitioned setup. Attempts to replicate tables other than
> base tables will result in an error.
> ```
>
> Saludos,
>
> --
> Mart铆n Marqu茅s                http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>

Reply via email to