On 05/08/2015 03:25 PM, Vladimir Borodin wrote:
> Hi all.
>
> Seems, that pg_rewind does not account --dry-run option properly. A simple fix
> for that is attached.
No, the --dry-run takes effect later. It performs all the actions it
normally would, including reading files from the source, except for
actually writing anything in the target. See the dry-run checks in
file_ops.c
- Heikki