[HACKERS] Inconsistent use of --slot/-S in pg_receivexlog and pg_recvlogical

2014-08-12 Thread Michael Paquier
Hi, I noticed that pg_receivexlog is able to use --slot but not -S, even if the code is written this way. Attached is a patch correcting that. This makes pg_receivexlog consistent with pg_recvlogical regarding the slot option. IMHO, this should be backpatched to REL9_4_STABLE. Regards, --

Re: [HACKERS] Inconsistent use of --slot/-S in pg_receivexlog and pg_recvlogical

2014-08-12 Thread Fujii Masao
On Tue, Aug 12, 2014 at 4:50 PM, Michael Paquier michael.paqu...@gmail.com wrote: Hi, I noticed that pg_receivexlog is able to use --slot but not -S, even if the code is written this way. Attached is a patch correcting that. This makes pg_receivexlog consistent with pg_recvlogical regarding

Re: [HACKERS] Inconsistent use of --slot/-S in pg_receivexlog and pg_recvlogical

2014-08-12 Thread Fujii Masao
On Tue, Aug 12, 2014 at 7:27 PM, Fujii Masao masao.fu...@gmail.com wrote: On Tue, Aug 12, 2014 at 4:50 PM, Michael Paquier michael.paqu...@gmail.com wrote: Hi, I noticed that pg_receivexlog is able to use --slot but not -S, even if the code is written this way. Attached is a patch correcting