> Attached is a repro patch. You will need to set > shared_preload_libraries = 'pg_stat_statements' > as well.
I forgot to mention. Once patched, you can run a simple select statement from a new connection to force the crash. This is because GetNamedLWLockTranche will be called at pgss_ExecutorEnd. -- Sami