pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: PFC <lists@boutiquenumerique.com>
Cc: pgsql-general@postgresql.org
Subject: Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin
Date: Mon, 11 Apr 2005 12:42:29 -0400
Message-ID: <2631.1113237749@sss.pgh.pa.us> (raw)
In-Reply-To: <op.so2tkqh6th1vuj@localhost>
References: <d31b80$1qit$1@news.hub.org>
	<5852.1112819444@sss.pgh.pa.us>
	<op.so0lxizhth1vuj@localhost>
	<28689.1113150475@sss.pgh.pa.us>
	<op.so173jizth1vuj@localhost>
	<29374.1113228303@sss.pgh.pa.us>
	<op.so2qg1k9th1vuj@localhost>
	<2396.1113236424@sss.pgh.pa.us>
	<op.so2tkqh6th1vuj@localhost>

PFC <lists@boutiquenumerique.com> writes:
> 	I have no idea what to type in gbd to get the trace, though....

What I usually do is
- start a psql session
- in another window, find out the PID of the backend attached
  to the psql session, and do
	$ gdb /path/to/postgres backend_PID
	...
	gdb> b errfinish
	gdb> cont
- go back to psql session and issue problem command
- when gdb stops execution, do
	gdb> bt
	... useful printout is here ...
	gdb> quit
	sure you want to exit? y

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <2631.1113237749@sss.pgh.pa.us>
Permalink:  ../2631.1113237749@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2631.1113237749@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lists@boutiquenumerique.com, pgsql-general@postgresql.org
  Subject: Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin
  In-Reply-To: <2631.1113237749@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox