Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin - Mailing list pgsql-general

From Tom Lane
Subject Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin
Date
Msg-id 2631.1113237749@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin  (PFC <lists@boutiquenumerique.com>)
Responses Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin  (PFC <lists@boutiquenumerique.com>)
Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin  (PFC <lists@boutiquenumerique.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: "John Liu"
Date:
Subject: large object table space in version 8
Next
From: Richard Huxton
Date:
Subject: Re: Data Mart with PostgreSQL (Please!)