Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A90B91337BB7 for ; Wed, 20 Apr 2011 16:50:36 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 71668-03 for ; Wed, 20 Apr 2011 19:50:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 08A74133798E for ; Wed, 20 Apr 2011 16:50:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p3KJoPon016848; Wed, 20 Apr 2011 15:50:25 -0400 (EDT) To: Andrew Dunstan cc: Bruce Momjian , Robert Haas , pgsql-hackers@postgresql.org Subject: Re: pgindent weirdness In-reply-to: <4DAF1800.1050404@dunslane.net> References: <201104201716.p3KHGoO06329@momjian.us> <4DAF1800.1050404@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Wed, 20 Apr 2011 13:29:36 -0400" Date: Wed, 20 Apr 2011 15:50:25 -0400 Message-ID: <16847.1303329025@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/1087 X-Sequence-Number: 186289 Andrew Dunstan writes: > On 04/20/2011 01:16 PM, Bruce Momjian wrote: >>> This implies to me that we changed something about how we handle this >>> since we did the 9.0 runs, but I don't know what it was. Should I? >> I think Andrew also supplied the typedef list for the 9.0 run. > Yes. But in November, the server where all my animals were running died. > The rebuilt machines all used newer versions of the OS, new compilers > and newer tools such as objdump. As I pointed out at the time I > committed the new typedefs list, that accounts for a lot of the changes. It wouldn't surprise me in the least to find out that newer gcc's stopped emitting symbol table entries for unreferenced typedefs. In fact, using HEAD, I get this on my old HPUX box: (gdb) p sizeof(BulkInsertStateData) $65 = 8 and this on my Fedora 13 box: (gdb) p sizeof(BulkInsertStateData) No symbol "BulkInsertStateData" in current context. (gcc 2.95.3 and 4.4.5 respectively) So the tools definitely changed sometime in the last N years. regards, tom lane