pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Thom Brown <thom@linux.com>
Cc: Abhijit Menon-Sen <ams@2ndquadrant.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] Breakage with VACUUM ANALYSE + partitions
Date: Wed, 4 May 2016 13:44:38 -0400
Message-ID: <20160504174437.GC10850@tamriel.snowman.net> (raw)
In-Reply-To: <13345.1462383078@sss.pgh.pa.us>
References: <alpine.DEB.2.10.1605022146390.927@sto>
	<20160502203634.hmjgdumfgqrldo6n@alap3.anarazel.de>
	<alpine.DEB.2.10.1605022346490.927@sto>
	<20160502221419.shvm4vuhi4jh5hoe@alap3.anarazel.de>
	<alpine.DEB.2.10.1605030712070.927@sto>
	<20160503234810.vzbxwxq4jincgdng@alap3.anarazel.de>
	<alpine.DEB.2.10.1605040727090.27782@sto>
	<6502.1462373742@sss.pgh.pa.us>
	<alpine.DEB.2.10.1605041750420.30701@sto>
	<13345.1462383078@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Tom,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> * debugger ability to print variables symbolically

I might be misunderstanding what you're getting at here, but if you want
to be able to use #define'd values using their name, you can get that by
compiling with -g3.  With -g3 and gdb, you can do things like:

(gdb) p tblinfo[i].dobj.dump & ~(DUMP_COMPONENT_COMMENT |
DUMP_COMPONENT_SECLABEL | DUMP_COMPONENT_USERMAP | DUMP_COMPONENT_ACL)

where all the DUMP_COMPONENT items are #define's.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (64+ messages)  latest in thread

Message-ID: <20160504174437.GC10850@tamriel.snowman.net>
Permalink:  ../20160504174437.GC10850@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20160504174437.GC10850@tamriel.snowman.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: sfrost@snowman.net, tgl@sss.pgh.pa.us, coelho@cri.ensmp.fr, andres@anarazel.de, robertmhaas@gmail.com, thom@linux.com, ams@2ndquadrant.com, michael.paquier@gmail.com, kommi.haribabu@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] Breakage with VACUUM ANALYSE + partitions
  In-Reply-To: <20160504174437.GC10850@tamriel.snowman.net>
  References: <alpine.DEB.2.10.1605022146390.927@sto> <20160502203634.hmjgdumfgqrldo6n@alap3.anarazel.de> <alpine.DEB.2.10.1605022346490.927@sto> <20160502221419.shvm4vuhi4jh5hoe@alap3.anarazel.de> <alpine.DEB.2.10.1605030712070.927@sto> <20160503234810.vzbxwxq4jincgdng@alap3.anarazel.de> <alpine.DEB.2.10.1605040727090.27782@sto> <6502.1462373742@sss.pgh.pa.us> <alpine.DEB.2.10.1605041750420.30701@sto> <13345.1462383078@sss.pgh.pa.us> <20160504174437.GC10850@tamriel.snowman.net>

* 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