Answer the question
In order to leave comments, you need to log in
Postgresql-10 how does logical replication work out of the box (questions on the topic under the cut)?
Hi , I
studied the materiel quite superficially - I looked at examples of replication of one table ( https://habr.com/company/pgdayrussia/blog/326996/)
I would like to ask people who have experience in this:
1) Is it possible to create logical replication at the schema level (so that when a new table is created in the schema, it is replicated to the slaves) or do I need to create a publication for each new table?
UPD: It says here that you can't replicate schema ("Does not replicate schema/DDL") Is that true?
2)Relationships between tables will also be replicated? (I understand that it’s better to try everything on your own skin, but I think that it won’t be difficult for you to write a few words about this, after all, this is your experience. It would be very nice if you shared it. Thank you.)
PS: the goal I pursue is - logical replication of several database schemas with all tables and changes in them, since it is not advisable to replicate the entire database (this is the specifics of the project).
Answer the question
In order to leave comments, you need to log in
1) Is it possible to create logical replication at the schema level
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question