"Matt Magoffin" <postgresql(dot)org(at)msqr(dot)us> writes:
> I understand. I cannot make the SELECT query nor the ADD INDEX command
> break on an empty database. I cannot share this database data, either.
So try to make a test case using dummy data, or with suitably obscured
versions of your real data.
Also, consider compiling a debug-enabled build and showing us a gdb
stack trace from the core dump.
regards, tom lane