Re: Query hangs when getting too complex...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paulo Jan <admin(at)mail(dot)ddnet(dot)es>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Query hangs when getting too complex...
Date: 2001-12-19 18:44:37
Message-ID: 1862.1008787477@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Paulo Jan <admin(at)mail(dot)ddnet(dot)es> writes:
> 1) I started psql and then looked at the PID of the "postgres" backend
> process.
> 2) I typed "gdb postgres (PID)":
> 3) I typed the query in psql and started it. psql hangs...
> 4) ...and in the meantime, I type "bt" in the gdb window:

Not quite the right sequence: I think what you've captured is just the
backend waiting to receive the query. Start the failing query, and
*after* it hangs attach to the backend process with gdb.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paulo Jan 2001-12-19 18:56:22 Re: Query hangs when getting too complex...
Previous Message Dado Feigenblatt 2001-12-19 18:21:58 Re: Outputting select into file.