Re: gcc 4.6 and hot standby
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alex Hunsaker <badalex@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-06-08T19:05:09Z
Lists: pgsql-hackers
Alex Hunsaker <badalex@gmail.com> writes: > So I tracked it down to "-fgcse", that is CFLAGS="-O2 -fno-gcse" > ./configure works. I then took a few guesses and compiled all of > postgres with -O2, then manually recompiled xlog.c with -f-no-gcse. > that combination seems to work. Huh, interesting. So the bug must be lurking somewhere around the logic that deals with failedSources: somehow we're getting to the ShutdownWalRcv call in XLogPageRead. regards, tom lane