Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay0s9-0004Ys-Lo for pgsql-hackers@arkaria.postgresql.org; Wed, 04 May 2016 17:46:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ay0s9-0005LP-7v for pgsql-hackers@arkaria.postgresql.org; Wed, 04 May 2016 17:46:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ay0qn-0003lJ-VK for pgsql-hackers@postgresql.org; Wed, 04 May 2016 17:44:42 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ay0qk-0004oD-SY for pgsql-hackers@postgresql.org; Wed, 04 May 2016 17:44:40 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 2E0F55F7A6; Wed, 4 May 2016 13:44:38 -0400 (EDT) Date: Wed, 4 May 2016 13:44:38 -0400 From: Stephen Frost To: Tom Lane Cc: Fabien COELHO , Andres Freund , Robert Haas , Thom Brown , Abhijit Menon-Sen , Michael Paquier , Haribabu Kommi , "pgsql-hackers@postgresql.org" Subject: Re: [BUGS] Breakage with VACUUM ANALYSE + partitions Message-ID: <20160504174437.GC10850@tamriel.snowman.net> References: <20160502203634.hmjgdumfgqrldo6n@alap3.anarazel.de> <20160502221419.shvm4vuhi4jh5hoe@alap3.anarazel.de> <20160503234810.vzbxwxq4jincgdng@alap3.anarazel.de> <6502.1462373742@sss.pgh.pa.us> <13345.1462383078@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SW4uYJnG2hpHqp3K" Content-Disposition: inline In-Reply-To: <13345.1462383078@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-77-generic (x86_64) X-Uptime: 13:41:49 up 71 days, 14:34, 21 users, load average: 0.13, 0.11, 0.13 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --SW4uYJnG2hpHqp3K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --SW4uYJnG2hpHqp3K Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXKjUFAAoJEO1sijiDR2RVfWsP/3RP6NviWw3NCas/3Y4JWwCk L4+3hDYys+A3VFulQy73RKix9LjdBm1tW9Cg3fxwAmPi725ldaVb7JlVryAqqRdY Wu1sGqUMFNHCKji05GgXtqEj8esf1l3NPcqfuKvu557fDT6zmemm0ahWg8ByApnm GL+QJBFzbNDPIohkXK9ZI6cqzQ97aQig1/4xn3xdbDF2ygzRUFVPzdz/TrLgUol9 OTOwEn1i25tXsp4H8WyjR9b/vuV7TcGVEfseTxilXy6W+/jwijWRh5frsoesUphq irgc9lNwMQM3dMjoj+0q06zxlDkvyi+7Ef63ZXOcWkbcdrsRADqu/ypAR6Jx8GWR bEhE0mzRWdH2SxcD/1KnkCFAJl+Frsc3ol3nnW5+XncmXyZN6G12Up5s1HUfjPez J3bnnfozz/fYPQevrPQmgicWUcbEXum4v6h7VgMpaBixyqP+RP1o4maxM43PCAJp inRQzx5pQSbJVWJwcCt/UIB4+C5T+z8gH+PexX2lDVBcTJ2ZpdvJTMkFQQpqBbB2 w163TcXs+5F/hZ/07Eted/8AOFM1zek4WnC1zVjqSOQ/YCm0NjgTA0H+3akbDr3e KCL2vRXKWfqX0D2Sq8KCFCJQ3jiZi/j1N+bqvSMiCeVF3I+Ca0+d4uFCGuU/Zib3 GfRJj6E7SB6TaD8Hx2X5 =8M2T -----END PGP SIGNATURE----- --SW4uYJnG2hpHqp3K--