By default, recovery will recover to the end of the WAL log. The following parameters can be used to specify an earlier stopping point. At most one of recovery_target, recovery_target_name, recovery_target_time, or recovery_target_xid can be used; if more than one of these is specified in the configuration file, the last entry will be used.
recovery_target = 'immediate'
This parameter specifies that recovery should end as soon as a consistent state is reached, i.e. as early as possible. Whe