Re: printing PGresult content with gdb - Mailing list pgsql-general

From Tom Lane
Subject Re: printing PGresult content with gdb
Date
Msg-id 3258157.1720022101@sss.pgh.pa.us
Whole thread Raw
List pgsql-general
clipperDB@gmx.fr writes:
> I don't know if it is the right mailing list, but i was
> wondering if one could introspect via gdb the content of PGresult.

You might have better luck with that if you install the debuginfo
RPM corresponding to your libpq RPM.  PGresult's innards are not
exposed to applications by libpq-fe.h, so your own app's debug
data is not going to contain the details of the struct.  But I think
it would be available to gdb if libpq's debug symbols were installed.

            regards, tom lane



pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Accommodating alternative column values [RESOLVED]
Next
From: Mukesh Tanuku
Date:
Subject: Query 2 Node HA test case result