Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rx7wG-006WjB-TY for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Apr 2024 16:15:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rx7wE-00Ci4j-3k for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Apr 2024 16:15:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rx7wD-00Ci4b-QT for pgsql-hackers@lists.postgresql.org; Wed, 17 Apr 2024 16:15:09 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rx7w8-001U3R-0C for pgsql-hackers@postgresql.org; Wed, 17 Apr 2024 16:15:08 +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 43HGF0iY1580078; Wed, 17 Apr 2024 12:15:00 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: ecpg_config.h symbol missing with meson In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Wed, 17 Apr 2024 16:48:22 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1580076.1713370500.1@sss.pgh.pa.us> Date: Wed, 17 Apr 2024 12:15:00 -0400 Message-ID: <1580077.1713370500@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Eisentraut writes: > I checked the generated ecpg_config.h with make and meson, and the meson > one is missing > #define HAVE_LONG_LONG_INT 1 > This is obviously quite uninteresting, since that is required by C99. > But it would be more satisfactory if we didn't have discrepancies like > that. Note that we also kept ENABLE_THREAD_SAFETY in ecpg_config.h for > compatibility. > ... > Alternatively, we could remove the symbol from the make side. Think I'd vote for removing it, since we use it nowhere. The ENABLE_THREAD_SAFETY precedent feels a little bit different, since there's not the C99-requires-the-feature angle. regards, tom lane