Re: Converting tab-complete.c's else-if chain to a switch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Converting tab-complete.c's else-if chain to a switch
Date: 2024-07-26 20:02:47
Message-ID: 1809543.1722024167@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> I modified the preprocessor to work like that, and I like the results
> better than what I had.

I thought this version of the patch would be less subject to merge
conflicts than v1, but it didn't take long for somebody to break it.
Rebased v3 attached -- no nontrivial changes from v2.

I'd like to get this merged soon ...

regards, tom lane

Attachment Content-Type Size
v3-0001-Invent-MatchAnyN-option-for-tab-complete.c-s-Matc.patch text/x-diff 31.7 KB
v3-0002-Prepare-tab-complete.c-for-preprocessing.patch text/x-diff 17.3 KB
v3-0003-Convert-tab-complete-s-long-else-if-chain-to-a-sw.patch text/x-diff 13.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-07-26 20:05:50 Re: pg_upgrade failing for 200+ million Large Objects
Previous Message Tristan Partin 2024-07-26 20:01:14 Re: Building with meson on NixOS/nixpkgs