Simon Riggs <si...@2ndquadrant.com> writes:
> v3 attached

This patch changes KnownAssignedXidsRemove() so that failure to find
the target XID is elog(ERROR) (ie, a PANIC, since this is in the
startup process).  However, this comment is still there:

        /*
         * We can fail to find an xid if the xid came from a subtransaction that
         * aborts, though the xid hadn't yet been reported and no WAL records 
have
         * been written using the subxid. In that case the abort record will
         * contain that subxid and we haven't seen it before.
         */

WTF?  Either the comment is wrong or this should not be an elog
condition.

                        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

Reply via email to