Bruce Momjian <br...@momjian.us> writes: > Stupid question, but why are we not just setting a boolean variable in > shared memory if we WAL-write a non-XLOG_RUNNING_XACTS record, and only > checkpoint if that is true?
Well, (1) we are trying to avoid adding such logic to the critical section inside XLogInsert, and (2) XLOG_RUNNING_XACTS is not the only problematic record type, there's at least one other. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers