Re: [HACKERS] [PATCH] pg_receivexlog: fixed to work with logical segno 0

2013-11-04 Thread Heikki Linnakangas
On 01.11.2013 11:42, Mika Eloranta wrote: pg_receivexlog calculated the xlog segment number incorrectly when started after the previous instance was interrupted. Resuming streaming only worked when the physical wal segment counter was zero, i.e. for the first 256 segments or so. Oops. Fixed,

Re: [HACKERS] [PATCH] pg_receivexlog: fixed to work with logical segno 0

2013-11-04 Thread Mika Eloranta
On Nov 4, 2013, at 11:06, Heikki Linnakangas wrote: On 01.11.2013 11:42, Mika Eloranta wrote: pg_receivexlog calculated the xlog segment number incorrectly when started after the previous instance was interrupted. Resuming streaming only worked when the physical wal segment counter was

[HACKERS] [PATCH] pg_receivexlog: fixed to work with logical segno 0

2013-11-01 Thread Mika Eloranta
pg_receivexlog calculated the xlog segment number incorrectly when started after the previous instance was interrupted. Resuming streaming only worked when the physical wal segment counter was zero, i.e. for the first 256 segments or so. --- src/bin/pg_basebackup/pg_receivexlog.c | 2 +- 1 file