Re: pgsql: Split xlog.c into xlog.c and xlogrecovery.c.

2022-02-16 Thread Heikki Linnakangas
There are some segfaults in the buildfarm because of this, eg: Program terminated with signal 11, Segmentation fault. Error while reading shared library symbols: Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so] #0 memcpy (dst0=Variable "d

pgsql: Split xlog.c into xlog.c and xlogrecovery.c.

2022-02-15 Thread Heikki Linnakangas
Split xlog.c into xlog.c and xlogrecovery.c. This moves the functions related to performing WAL recovery into the new xlogrecovery.c source file, leaving xlog.c responsible for maintaining the WAL buffers, coordinating the startup and switch from recovery to normal operations, and other miscellane