Pavel Stehule wrote:
> propably I had to do some errors. Next cycle produce different output:
>
> #0 FreeExecutorState (estate=0x966eb2c) at execUtils.c:260
> 260 FreeExprContext((ExprContext *)
> linitial(estate->es_exprcontexts));
> (gdb) bt
> #0 FreeExecutorState (estate=0x966eb2c) at execUtils.c:260
> #1 0x00528c9c in plpgpsm_xact_cb () from /usr/local/pgsql81/lib/plpgpsm.so
> #2 0x080b0d81 in CallXactCallbacks (event=XACT_EVENT_COMMIT) at xact.c:2618
Hmm, ISTR there were some changes to what plpgsql_xact_cb did in 8.1 ...
did you check the changes to that routine?
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support