Re: Using gdb to obtain statement - Mailing list pgsql-general

From Andreas Seltenreich
Subject Re: Using gdb to obtain statement
Date
Msg-id 87fyszcmy4.fsf@gate450.dyndns.org
Whole thread Raw
In response to Using gdb to obtain statement  ("Markus Wollny" <Markus.Wollny@computec.de>)
List 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

pgsql-general by date:

Previous
From: Chris Browne
Date:
Subject: Re: Postgresql replication
Next
From: Carlos Henrique Reimer
Date:
Subject: Re: Postgresql replication