Simon Riggs <simon@xxxxxxxxxxxxxxx> writes: > On Fri, May 27, 2011 at 4:28 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: >> I think the right fix is to make sure that ProcessCompletedNotifies >> saves and restores the call-time CurrentMemoryContext. > Can we put a WARNING in there if we try to commit while in TopMemoryContext? That has nothing to do with it ... regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general