Re: remove bits* types

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: remove bits* types
Date: 2026-03-30 16:41:09
Message-ID: CAAKRu_ZucXL3mLc0f-t_7giiChN9Zad2EAr9SoAqFFc95vFaOg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 26, 2026 at 2:21 PM Nathan Bossart <nathandbossart(at)gmail(dot)com> 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).

- Melanie

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavlo Golub 2026-03-30 16:42:29 Re[2]: [PATCH] Add last_executed timestamp to pg_stat_statements
Previous Message Pavlo Golub 2026-03-30 16:37:25 [PATCH] pg_stat_statements: add last_execution_start column