On 4/12/23 12:32, Fabrice Chapuis wrote:
> During recovery process of a self contained backup, how postgres know
> to stop reading wal when consistency is reached?
Because it knows the full packup info. It will observe the
STOP WAL LOCATION: 3BC7/4B000130 (file 0000000200003BC70000004B)
inside the backup file
It's a full contained backup because you haven't called with the |-X
/|method none|/| , and it doesn't get into standby because you haven't
called with |--write-recovery-conf !|
|I believe by default it will do what you meant that you want.
|