Wim <wdh@belbone.be> writes:
> Tom Lane wrote:
>> It would be useful to see a stack traceback from the point of the error,
>> if possible.
> I Would like to send a stack traceback, but I need some halp on this
> (never done this before).
> some add. info:
> SELECT relname FROM pg_class WHERE relname like 'pg_%' AND relkind = 'r';
> gives:
> server closed the connection unexpectedly
This should be producing a core file in your database directory
($PGDATA/base/yourdboid/). With gdb you'd do
gdb /path/to/postgres-executable /path/to/corefile
gdb> bt
gdb> quit
I don't remember the equivalent incantations with Solaris' debugger.
regards, tom lane