Re: Using gdb to obtain statement

From: Andreas Seltenreich <andreas+pg(at)gate450(dot)dyndns(dot)org>
To: "Markus Wollny" <Markus(dot)Wollny(at)computec(dot)de>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using gdb to obtain statement
Date: 2005-08-24 16:35:31
Message-ID: 87fyszcmy4.fsf@gate450.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Markus Wollny schrob:

> 0x40198cd4 in read () from /lib/i686/libc.so.6
> (gdb) p debug_query_string
> $1 = 137763608
>
> What am I doing wrong?

You are looking at the string's pointer. You could display it with
e.g.

printf "%s\n", debug_query_string

HTH
Andreas

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron Mayer 2005-08-24 16:46:21 Re: ctid access is slow
Previous Message Chris Browne 2005-08-24 15:54:42 Re: Postgresql replication