February 2020
Intermediate to advanced
734 pages
38h 13m
English
Observant readers may have noticed we added the pgbench_history table to the publication. We've already explained why other logical replication solutions do not allow this, but we felt it would be a good demonstration. PostgreSQL did not complain about this when we created the publication, but watch what happens when we try to delete a value from the table:

This means PostgreSQL native logical replication has the same limitation as other implementations. This makes perfect sense though, as it would be impossible for the recipient system to safely delete or update a record without a unique identifying characteristic. ...
Read now
Unlock full access