summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorHeikki Linnakangas2014-01-08 20:26:39 +0000
committerHeikki Linnakangas2014-01-08 20:26:39 +0000
commit815d71deed5df2a91b06da76edbe5bc64965bfea (patch)
treedfca497a76692fa085e4fb4464d247e7ae2ce577 /contrib
parent847e46abc92333a5a948d8fa886604832c1db238 (diff)
If multiple recovery_targets are specified, use the latest one.
The docs say that only one of recovery_target_xid, recovery_target_time, or recovery_target_name can be specified. But the code actually did something different, so that a name overrode time, and xid overrode both time and name. Now the target specified last takes effect, whether it's an xid, time or name. With this patch, we still accept multiple recovery_target settings, even though docs say that only one can be specified. It's a general property of the recovery.conf file parser that you if you specify the same option twice, the last one takes effect, like with postgresql.conf.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions