On Fri, Dec 18, 2015 at 1:23 PM, Andreas Seltenreich <seltenre...@gmx.de> wrote: > I do see two assertions in spgtextproc.c fail on occasion when testing > with sqlsmith: > > TRAP: FailedAssertion([...], File: "spgtextproc.c", Line: 424) > TRAP: FailedAssertion([...], File: "spgtextproc.c", Line: 564) > > I can't reproduce it reliably but looking at the coredumps, the failing > part of the expression is always > > in->level == 0 && DatumGetPointer(in->reconstructedValue) == NULL > > In all of the dumps I looked at, in->reconstructedValue contains a > zero-length text instead of the asserted NULL, and the tuples fed to > leaf_consistent()/inner_consistent() look like the one below.
Can you do this?: (gdb) p debug_query_string It's a global variable, often useful in these situations. -- Peter Geoghegan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers