pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@boutiquenumerique.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org
Subject: Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin
Date: Tue, 12 Apr 2005 20:34:36 +0200
Message-ID: <op.so4tvyb0th1vuj@localhost> (raw)
In-Reply-To: <5852.1112819444@sss.pgh.pa.us>
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>
	<2631.1113237749@sss.pgh.pa.us>


	Sometimes life has an irony of itself.
	Today I modified some of my gentoo USE flags for something totally  
unrelated to postgres.
	Tonight I built postgres in debug mode : the offending query worked.
	I thught "hm."
	I rebuilt it without debug, and it still works.
	I don't know what made it NOT to work before, I sure didn't hallucinate.  
It must be some obscure incompatibility deep inside the Gentoo package and  
build manager...
	phppgadmin works, and pgadmin doesn't, telling me the "datapath" column  
doesn't exist, no idea what this means. I'm going to look into it.

	Thanks for your help and sorry about bothering you !
	
On Mon, 11 Apr 2005 18:42:29 +0200, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> 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: <op.so4tvyb0th1vuj@localhost>
Permalink:  ../op.so4tvyb0th1vuj@localhost/
Also on:    postgresql.org/message-id/op.so4tvyb0th1vuj@localhost

 · 

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: lists@boutiquenumerique.com, tgl@sss.pgh.pa.us, pgsql-general@postgresql.org
  Subject: Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin
  In-Reply-To: <op.so4tvyb0th1vuj@localhost>

* 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