Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7qmF-0001b0-7f for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Jul 2022 04:00:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o7qmE-0007kA-2t for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Jul 2022 04:00:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7qmD-0007k1-Px for pgsql-hackers@lists.postgresql.org; Sun, 03 Jul 2022 04:00:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7qmB-0002LJ-Q8 for pgsql-hackers@postgresql.org; Sun, 03 Jul 2022 04:00:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 2633xwPT1135685; Sat, 2 Jul 2022 23:59:58 -0400 From: Tom Lane To: Noah Misch cc: Guillaume Lelarge , Benoit =?iso-8859-1?Q?Lobr=E9au?= , PostgreSQL Developers , "Dr. Michael Meskes" Subject: Re: Probable memory leak with ECPG and AIX In-reply-to: <1133632.1656819904@sss.pgh.pa.us> References: <20211212073411.GA2218865@rfd.leadboat.com> <20220101074055.GA54621@rfd.leadboat.com> <2865639.1641054902@sss.pgh.pa.us> <20220102000750.GB54621@rfd.leadboat.com> <20220418041645.GA1134228@rfd.leadboat.com> <964681.1656788014@sss.pgh.pa.us> <20220703030619.GB2378460@rfd.leadboat.com> <1132802.1656819428@sss.pgh.pa.us> <20220703034346.GC2378460@rfd.leadboat.com> <1133632.1656819904@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sat, 02 Jul 2022 23:45:04 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1135683.1656820798.1@sss.pgh.pa.us> Date: Sat, 02 Jul 2022 23:59:58 -0400 Message-ID: <1135684.1656820798@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > On it now, but it'll take a few minutes :-( Confirmed that either initializing ecpg_clocale or adding -fno-common allows the ecpglib build to succeed. (Testing it beyond that would require another hour or so to build the rest of the system, so I won't.) As I said, I was already leaning to the idea that initializing the variable explicitly is better style, so I recommend we do that. regards, tom lane