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 1uysdA-00E1TY-43 for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Sep 2025 13:55:32 +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 1uysd8-007mcF-1x for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Sep 2025 13:55:30 +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 1uysd7-007mc2-Om for pgsql-hackers@lists.postgresql.org; Wed, 17 Sep 2025 13:55:30 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uysd3-001KNo-2W for pgsql-hackers@lists.postgresql.org; Wed, 17 Sep 2025 13:55:29 +0000 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-62f1987d49fso4111290a12.2 for ; Wed, 17 Sep 2025 06:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758117326; x=1758722126; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=VpZrm3WMbLAuVVRCGJWWfal7Ww8UcPLP6vW67XAizhg=; b=f6LpFazNvwUDzMu0YmbIKzjqzXZ/mTk4kzXm9HOjc36IAgdxIulKF18WCDugk8i67/ H2oYtyMqZajmzDd1GNGOUS/XiKGeN/P+vnLOSoR2rzZBEpes3qFzTncc7kADUf/0bYQW 2oEFj61o29vxrk3jTqA1WAVh9VOPRhzFk2STug01/V8Qc6Ffg7UxXbKsTdY8+6LgnvYe NJoS5iIv9EQnLbaiRVXDHH/JWxHP2zNwdFTPVxVbXJewgQpg4acyWbXLFb98KcIGZ5N5 nhLReAEkfmrwiUjnQZTlyy9ZDcWwrKRPmvUC0/ZMynqyopTTnNeybrl0YPOgOkqg33Qg R2jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758117326; x=1758722126; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VpZrm3WMbLAuVVRCGJWWfal7Ww8UcPLP6vW67XAizhg=; b=ZvqRfqoieOo9h/vc/kUUUr7zHIGLYJqRUgvuczIQYYoxILVFA3FURV2c0WKD21J/N6 CJLTMxIb/Y7bqmRJeen0qbVWLpdE1ooZSKHGKUAH5hxU15fNzpNp5kurTawhkCE6tYD0 ZcKpAz44ltaB+eZBhBSkn5WabX0wEPBzjrEd1581pCyTv1DaKRoT7elvzS8UenhslN5k WqR7Ipyj98GhLZ+erzgm5nq4g+bAmRUcva5kfCGfjs7zXwdye3rxyojPbKxTvZsk5PGy PSAI05Y+fPLQ8gNjlzeFDat/WzOPgn3T4a9///XkcLF+CHbp+rkq6IqKXmBt4jd2W0SG 3Zgw== X-Forwarded-Encrypted: i=1; AJvYcCXaqxi2DYsCETu+/FvQmQleYkgfo00tWJzPK0C6AHubPcEfoy/w0yy3jJ2t2r8qXDE061dThUlIKB6M883T@lists.postgresql.org X-Gm-Message-State: AOJu0Yy4hfqSZa4Z7OVLG5hiwbYc8DRX0U4wrqTjs4sOVO7VesACjFT7 Z8Jyf/xNfnheQkhk1p+HRD3+OI4KsuD6H64MpirDcQ3KFT3tVERnGhLRsDDU6ojo37lUk2NtzoA jMpHp3frZZp3ZSLNP4RaDDPBecnISS9M= X-Gm-Gg: ASbGnctjVc55+f8kV3k3ztD9Xh8O1QujdLCSeNk/EGpRrHXmFwc5EogpEdNA92KQ8S0 /2CXnU1TxOZS7RnwZm5rLssR99+Q0trjaE3bTlW4APNKo866nS4KtTicEiuk/cmTaOzohIkB/ZN FVLZ3Q43kgGAIPYMCu7RteOjY3x1jOHBDSgGMtllNYj8DgGPAUZhC188ugxNW+nIhZRV/3EE2RX ww4Fyc= X-Google-Smtp-Source: AGHT+IGcy4eOT50nXT1WmOtFmO0M3QxQi8hqexee2e49qJsfrBgXeYQtTBu22X9BUOnhlunHRjcE/X92v3PiN3jiaSE= X-Received: by 2002:a17:907:1c9f:b0:ae0:cadc:e745 with SMTP id a640c23a62f3a-b1bbb15bbacmr270601566b.40.1758117325726; Wed, 17 Sep 2025 06:55:25 -0700 (PDT) MIME-Version: 1.0 References: <4792B7EE-F449-47AD-9078-C827D43F1EEE@greg.burd.me> In-Reply-To: <4792B7EE-F449-47AD-9078-C827D43F1EEE@greg.burd.me> From: Robert Haas Date: Wed, 17 Sep 2025 09:55:12 -0400 X-Gm-Features: AS18NWBF88tSk_bWUlMpirEQjtwbqr8MxIh3obfX6SjvNLowmyXRZgtF9NXRHeU Message-ID: Subject: Re: [PATCH] Add tests for Bitmapset To: Greg Burd Cc: Michael Paquier , PostgreSQL Hackers , Nathan Bossart , Masahiko Sawada Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Sep 17, 2025 at 9:18=E2=80=AFAM Greg Burd wrote: > > +static void > > +elog_bitmapset(int elevel, const char *label, const Bitmapset *bms) > > > > I added a function bms_values() that prints out the values contained in > a bitmapset and changed a few tests to use it. I removed the > elog_bitmapset() as it isn't being used and now that it's easy to output > the set in SQL why keep it for debugging? How about using outBitmapset() which already exists? --=20 Robert Haas EDB: http://www.enterprisedb.com