Re: process hang during drop schema - Mailing list pgsql-general

From Tom Lane
Subject Re: process hang during drop schema
Date
Msg-id 2091.1098746141@sss.pgh.pa.us
Whole thread Raw
In response to process hang during drop schema  ("David Parker" <dparker@tazznetworks.com>)
List pgsql-general
"David Parker" <dparker@tazznetworks.com> writes:
> To my untrained eye, it doesn't look as though there is any lock
> contention here,

Me either; whatever that process is doing, it doesn't seem to be waiting
for a lock.  Is it accumulating CPU time?

One way to get some info is to attach to the backend process with gdb
and get a stack trace:
    gdb /path/to/postgres
    attach PID
    bt
    quit

            regards, tom lane

pgsql-general by date:

Previous
From: "Uwe C. Schroeder"
Date:
Subject: Re: newbie
Next
From: ruben
Date:
Subject: pg_restore does not restore