Re: XLogSegNoOffsetToRecPtr fixup

2018-07-08 Thread Andres Freund
Hi, On 2018-07-08 14:23:45 -0400, Alvaro Herrera wrote: > Pursuant to closing comment in > https://postgr.es/m/20180306214239.ospkf6ie7aa5gm4j@alvherre.pgsql > here's a quick patch to change the order of arguments in > XLogSegNoOffsetToRecPtr. Commit fc49e24fa69a ("Make WAL segment size > config

XLogSegNoOffsetToRecPtr fixup

2018-07-08 Thread Alvaro Herrera
Pursuant to closing comment in https://postgr.es/m/20180306214239.ospkf6ie7aa5gm4j@alvherre.pgsql here's a quick patch to change the order of arguments in XLogSegNoOffsetToRecPtr. Commit fc49e24fa69a ("Make WAL segment size configurable at initdb time.") put the walsegsz as last argument, *after*