Re: [HACKERS] Specifying both recovery_target_xid and recovery_target_time

2014-01-08 Thread Simon Riggs
On 8 January 2014 15:38, Heikki Linnakangas wrote: > The docs say: > >> At most one of recovery_target_time, recovery_target_name or >> recovery_target_xid can be specified > > > However, the code actually allows them all to be specified at the same time: > >> else if (strcmp(item-

Re: [HACKERS] Specifying both recovery_target_xid and recovery_target_time

2014-01-08 Thread Tom Lane
Heikki Linnakangas writes: > The docs say: >> At most one of recovery_target_time, recovery_target_name or >> recovery_target_xid can be specified > However, the code actually allows them all to be specified at the same time: >> else if (strcmp(item->name, "recovery_target_name") == 0) >> { >>

[HACKERS] Specifying both recovery_target_xid and recovery_target_time

2014-01-08 Thread Heikki Linnakangas
The docs say: At most one of recovery_target_time, recovery_target_name or recovery_target_xid can be specified However, the code actually allows them all to be specified at the same time: else if (strcmp(item->name, "recovery_target_name") == 0) {