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 1w7FyF-0057fI-2p for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2026 17:00:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7FyE-004r1p-0G for pgsql-hackers@arkaria.postgresql.org; Mon, 30 Mar 2026 17:00:10 +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 1w7FyD-004r1h-0m for pgsql-hackers@lists.postgresql.org; Mon, 30 Mar 2026 17:00:10 +0000 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w7Fy9-00000001psi-19qY for pgsql-hackers@lists.postgresql.org; Mon, 30 Mar 2026 17:00:08 +0000 Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-7d743cd9e5bso3118849a34.2 for ; Mon, 30 Mar 2026 10:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774890004; x=1775494804; 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=kSZ2wpORjpBFnBys+vc9jlGltQfOQ1hTaMwvEg+id4g=; b=amwFCwauZXeWp4Prv5yIlh5V7u2kdR2zwTqkmqaGYcR5Fd8U+lAzAsHXerHdenFTUI QwVoo1If509u5+pmpEpUuaxrohGYnoIDdi/jyql6KwOnK7T98G4eCPDIwZMqcziZAGBZ giUk9WR20+D//mIIXEv69+kwm5aHV7EnEdm5nVqo7SIASzb7yvZ0Sk13J9SytLEfWtMU QUDXX8R+fQtHuYLMys10nw6mhZJRTIvCAQQwXWXH65Fj+7uH9Mg/Y8KF07SSqbnlZU/E 6RRtNjH9livQBmVAVBAO9tXsSoRQnd1N8rD+Ir1KNi7dltOk/MisBTIhGKJWMrcYR+U+ MIvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774890004; x=1775494804; 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=kSZ2wpORjpBFnBys+vc9jlGltQfOQ1hTaMwvEg+id4g=; b=b8NC74mZLMbf23mCqRBDUDmf704PxpT9a+JLH1OTJHwUJdgLf5ivoQCFUWxVEyBLkX Tddxeye3ZCXZKRnsSKr81y7cV2UR2NSj6R2Evm4lGcXELO+wWGDxLMZybodqw4n86GVO /7PyX39PXj1fU8vwm2+tln+n1qp2Zc8D5GGyBX3EupsWRk8R1fqO5SqTynSj2sMrUpMz oKMlOfOMme9Wbxi3DbnZo3q1+REtV3r3xySLKEydTpudFTXqJhsOY42OrWOHwKiB9qhT l+RlFaQ+gtyqqcJWClUm5WgMlbRLfHTDsag2tTP1YQsncexxtZa/j0E7N5Y7ctx9Onq8 zW5g== X-Forwarded-Encrypted: i=1; AJvYcCUfWAYyoYeMthcssYeTDmnTKvKJKMHR6Ncv79MLcnXWcBCQsKfkLwul0+On2aYkShlIVrFz6uLNiR3kbSNj@lists.postgresql.org X-Gm-Message-State: AOJu0Yy0kVH9mTYk85/UI0yqAaL44WBAWgH/rziOVDOQpQFp0R3Q6k5x ltxMllscjXiYdZZYSFbezHlq9GpDbPjW681auAPhUx5+Fu0weYsiXwKf X-Gm-Gg: ATEYQzyhl1BMJxWjRgs1g29YHrk3XeAgaAw/OadazKQYe9RcNT5O+jV2Vrga90FL6OT FxePOPed4Qb3V6ee1qK9Ni7tYbU04/5mi89jiIW1KIYcjAKAu7ayXM8v7SByM5Yv3NRKW+7scja O22rx+7SRCiZDJ7MWY8ZoTpnw9Ctj/ajPOBHmxql7CzqQKY3/cnZ6xDBUYwnEGg6rWpCbc2dGkc NKaLEzASm9011omfuQW+SwhwrYVsF7P9z6P4DZF/Gzj9+gJcVQdfptV6JHt9qz/6yZVRaLGZHHN /owBoDGBf+pFqW/Mxtp7EcenEq+xvNAglA1qGAhZzfmoQuG6FnJeEM+UknQ/4AGjpicT9J+2XCO pT/T2C/Y0Qg5qHdHqIpM/cNbnrqUysVG/YfLlpaMsFdG9sKJY4KBtA0trecsFnuTNvkyhg/JFRh YqSgdGopSdNCdQcd+BSauDTzSUxIRzBDo2Av900NEppPRQJ7f0aqB0GXYW8QjnhVbOtAIVGP8Ax BfXmQJ9qdysmql/GmZoWQ== X-Received: by 2002:a05:6830:6a12:b0:7d7:e565:a4f7 with SMTP id 46e09a7af769-7d9faee6b6bmr8211317a34.18.1774890004380; Mon, 30 Mar 2026 10:00:04 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7da0a335440sm6193437a34.4.2026.03.30.10.00.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2026 10:00:03 -0700 (PDT) Date: Mon, 30 Mar 2026 12:00:01 -0500 From: Nathan Bossart To: Melanie Plageman Cc: Peter Eisentraut , Andres Freund , =?utf-8?Q?=C3=81lvaro?= Herrera , Pg Hackers Subject: Re: remove bits* types Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="cfse7IKQXBjlvwxb" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --cfse7IKQXBjlvwxb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Mon, Mar 30, 2026 at 12:41:09PM -0400, Melanie Plageman wrote: > On Thu, Mar 26, 2026 at 2:21 PM Nathan Bossart wrote: >> On Wed, Mar 25, 2026 at 05:27:34PM +0100, Peter Eisentraut wrote: >> > I'm mildly in favor of removing them. But it appears there is no consensus. >> >> Same here. While it still doesn't look like anybody is totally opposed to >> the idea, you are right that there is no consensus. > > I really wish we would remove them. I want fewer confusing typedefs in > the code -- not more. I'm quite sad that as of 1bd6f22f43ac1b we are > now using them more widely (and publicly), and I feel that was done > without consensus. It should just use a regular uint32 -- like other > places we do this (e.g. scan_begin() amongst many others). Thanks for the heads-up. Here's a rebased patch. With Melanie's note, there are at least 4 votes in favor of this patch (Andres, me, Peter, and Melanie). AFAICT Michael is +/-0, Álvaro and Tom are -1 (or somewhere in the vicinity), and Robert seems ambivalent. Hm... -- nathan --cfse7IKQXBjlvwxb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v2-0001-remove-bits-types.patch