The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/app-pgbasebackup.html
Description:

Hello!

It would be good to point out on the pg_basebackup documentation that it
behaves differently from

SELECT * FROM pg_start_backup('label', true, false);
cp -a xxx yyy
SELECT * FROM pg_stop_backup(false, true);

method. One thing discovered was that the latter retains replication slot
information on the clone while pg_basebackup discards all replication slot
information. Not sure if it is a feature or a bug (replication slots
retention is a good thing).

And perhaps there are more such subtle differences?

With best regards,

Kristjan Mustkivi

Reply via email to