Carlos Henrique Reimer <carlos.rei...@opendb.com.br> writes:
> How is the best way to attach a debugger to the SELECT and identify why is
> it exhausting server storage.

In gdb,
        call MemoryContextStats(TopMemoryContext)
should produce some useful information on the process's stderr file.

                        regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to