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.96) (envelope-from ) id 1w7GuL-0058Rs-1W for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2026 18:00:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7GuJ-005K40-33 for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2026 18:00:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w7GuJ-005K3s-1v for pgsql-hackers@lists.postgresql.org; Mon, 30 Mar 2026 18:00:12 +0000 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w7GuI-00000001qOW-1RV7 for pgsql-hackers@lists.postgresql.org; Mon, 30 Mar 2026 18:00:11 +0000 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-4042905015cso2895428fac.0 for ; Mon, 30 Mar 2026 11:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774893609; x=1775498409; darn=lists.postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=w/ssUF/7TkelKHzxyEtoV5r5shCaF25y50CEySPBVx8=; b=DE5IJk6nbDPbLyULcLeZlE0VAxcqpEAr2VB8trL+VVJQ33AoFbyLXsxYi5NSNmMhFO YxeA2v8TrBlB8/zoli/3psPrA2Mi0qXkWl/TfTiGBmkSf/zzM8YdGyR5Vn6pLwsONNaH Icquqo8P9CKzqcmQ/pWr3LHQ0A194tbY0B4/v9EeX7L61wXskUP49tWuDYmQKyRiQUCl bJa9OSa6MCwu+nHv1NxTW7j2M3ElCKGM2bALJ9ALDE/jOk1hdPqzHQtr6aun9YBG9h8y +zpeIAD7fgjL1eshrNRBEmJkkBu9yvrSf5GDvZPjx5nCaqmLZcLMR43qBAMkoIOt6kBB LS0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774893609; x=1775498409; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=w/ssUF/7TkelKHzxyEtoV5r5shCaF25y50CEySPBVx8=; b=WG/ef57otLkuz6o1e5LvYLswPhre4VY2MDwxELVukHg5KmqK2xRSsgQ69n/VuHNZOM KdoXNRcjUVR7Noh64GIpTDfbP73I4uTBm0DssCiF32zHWdOSjGyWOacDupSACuVHxo4X CduH0VI0inJaP4WQONFOjLK++HI46RroZHBY3a7SGvSKyxvtSphlLVBALJL6mB2UimB+ YoOdXqd2f3+KLushqJrQ/22Ql0HfyJGgFVs6kB9Mei0tVb7DnWBOfT64k+S/R18lYZwF QRBla5uWl7RizyOJppNijr0sRudqHSBUoQ/MiJrpEn0ITtI7Cj3o5vM6LFJWFes33bFh nlxQ== X-Forwarded-Encrypted: i=1; AJvYcCV605SrBY0QuP3fmbrL6WWZaZyYvH1QGOco0Aa5su0ZE5HXmw+XeOArs3EecGj5wbZPmb1MAV9hrAVAd4zn@lists.postgresql.org X-Gm-Message-State: AOJu0Yzk/xgh4wgn9SYGUi9hCpycmwR0Z3utA3SerBd3o1SiF6YNTkN8 nza1AdJqC3UcFwmSKkdXEtjSTbNWMzgdE9OBisEw2lpvK3VzpApGf6cK X-Gm-Gg: ATEYQzzuELAMisTIBpSTJbWpVytDmMQSnK3TituHSbsMwj8qYTAXxogLSdQraVrmrpF pIfEARVd7ACZSOwWg8Eh/GWI+lZ3jSLGvnwMwCvFBO00UzE20KsUxPftG5Kouo19LhMji7aD1dS 5L+psfB7jVZDZRJgZA74nS/WEMWfuqQ4yR1s3kUL0bIk2eYAcYJuAC8oYnphwMUr8hBaEz7ntrH BRojMaJA5lRL9cx3+sRrCbXLF91la3SRwuZWSUJmNP8XzJvPhD9bLCDvvlOYAE1AO1bGQrUn2Ed 9FIbltNXQuVptwdf9yrmdcVDClkWp/Ff02SrImjxROQwW/E2KW4R+XNzKKxNsYNyr8L0/LtTL7T vYSYbRBNPmzFFzQKUSAib86YFy2DgzkbudI2WLBRjYdZnQfvSvaKSvWCUaxwpu550kuQSRfm5cW Un/gklJ54C7W8z21eCErV6ZglEUSobF8tPli+TQFkvgSNG6BrkM+BF+pKv5AIACu56HdefbTHa6 TXqu77MtdEPumSqYyxUNw== X-Received: by 2002:a05:6870:160c:b0:2d5:ba2d:80df with SMTP id 586e51a60fabf-41cec067f44mr7540728fac.8.1774893609399; Mon, 30 Mar 2026 11:00:09 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-41d04d79c35sm5622516fac.18.2026.03.30.11.00.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2026 11:00:09 -0700 (PDT) Date: Mon, 30 Mar 2026 13:00:07 -0500 From: Nathan Bossart To: Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= Cc: Tom Lane , Melanie Plageman , Peter Eisentraut , Andres Freund , =?utf-8?Q?=C3=81lvaro?= Herrera , Pg Hackers Subject: Re: remove bits* types Message-ID: References: <2493698.1774890452@sss.pgh.pa.us> <874ilx43tb.fsf@wibble.ilmari.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <874ilx43tb.fsf@wibble.ilmari.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Mar 30, 2026 at 06:36:48PM +0100, Dagfinn Ilmari Mannsåker wrote: > To avoid breaking extensions, we could leave the typedefs in place with > an #ifndef guard on some symbol that's only defined when building > postgres itself, but not when building extensions (or vice versa with an > #ifdef instead). > > This is used a lot in Perl for things we don't want to use in core any > more, but we don't want to break CPAN modules still using. It's hard to get an exact count because the names are so common, but I'm seeing <10 packages on codesearch.debian.net that might be affected, and it's quite easy to fix (s/bits/uint/g). My experience is that we routinely "break" extensions like this in new major versions, too. So, I'm not convinced we need to do any kind of backward-compatibility work. In any case, we have a lot of time between now and GA, so if a bunch of angry extension authors come to my door with pitchforks, we can reconsider. -- nathan