Robert Haas <robertmh...@gmail.com> writes: > Attach to the backend with gdb. Then you can get a backtrace, esp. if > you've built with --enable-debug. > > It may be helpful to use lsof to figure out which backend your psql > session is connected to.
select backend_pid(); is pretty handy for this. Though if you have the backend crashing on every plan it may not help... -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's Slony Replication support! -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers