mkabilov / logical_backup

[WIP] Continuous backup of the tables using PostgreSQL logical replication
MIT License
9 stars 3 forks source link

Minor improvements around the initialization code and backups. #12

Closed alexeyklyukin closed 6 years ago

alexeyklyukin commented 6 years ago

Remove “tables” configuration parameter. The list of tables to replicate can be fully controlled by the publication.

Unify the code that checks whether tables to replicate have a replica identity and the one that adds the tables to the list of those we replica. Previously, the code that checked for the replica identity was not aware of publications.

Drop the logical replication slot that we use for fetching lsns.

Minor improvements in debug message verbosity and SQL queries.