Re: A qsort template

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Zhihong Yu <zyu(at)yugabyte(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Daniel Gustafsson <daniel(at)yesql(dot)se>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: A qsort template
Date: 2021-07-22 07:30:04
Message-ID: CA+hUKGK0w6sKNRPx4bgS_+DSY5LxKTZnDqxCL5PmEo3tKGySgw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 17, 2021 at 1:20 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> On Thu, Jun 17, 2021 at 1:14 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > The big problem in my mind, which would not be alleviated in the
> > slightest by having a separate file, is that it'd be easy to miss
> > removing entries if they ever become obsolete.
>
> I suppose you could invent some kind of declaration syntax in a
> comment near the use of the pseudo-typename in the source tree that is
> mechanically extracted.

What do you think about something like this?

Attachment Content-Type Size
0001-Teach-pgindent-about-special-file-local-typenames.txt text/plain 15.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2021-07-22 07:38:50 Re: Add proper planner support for ORDER BY / DISTINCT aggregates
Previous Message Dipesh Pandit 2021-07-22 07:16:07 Re: .ready and .done files considered harmful