May 2018
Intermediate to advanced
576 pages
30h 25m
English
The pg_dump utility cannot be used as a base backup for a PITR. The reason is that a log replay contains the physical changes to data blocks, not the logical changes based on primary keys. If you reload the pg_dump utility, the data will likely go back into different data blocks, so the changes won't correctly reference the data.
WAL files don't contain enough information to fully reconstruct all the SQL that produced those changes. Later feature additions to PostgreSQL may add the required information to WAL files. It will be very interesting and exciting to follow how logical replication evolves in the future.