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

From Tom Lane
Subject Re: Converting tab-complete.c's else-if chain to a switch
Date
Msg-id 1729572.1728318805@sss.pgh.pa.us
Whole thread Raw
In response to Re: Converting tab-complete.c's else-if chain to a switch  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> On Mon, Oct 7, 2024 at 12:11 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hmm, I should think that if you break anything in tab-complete.in.c,
>> the breakage would propagate to tab-complete.c without difficulty.
>> Do you have an example of something that the preprocessor would mask?

> Fair point, and nope.  Thought withdrawn.

Pushed, then.

The original motivation for all this was to try to get tab completion
working in MSVC builds.  I'm not planning to do anything more towards
that myself, but maybe somebody else would like to have a go at it.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Psql meta-command conninfo+
Next
From: Peter Geoghegan
Date:
Subject: Re: POC, WIP: OR-clause support for indexes