Re: refactor backend type lists

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: Jonathan Abdiel Gonzalez Valdebenito <jonathan.abdiel@gmail.com>
Cc: Euler Taveira <euler@eulerto.com>, Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-09-26T12:28:52Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Create a separate file listing backend types

  2. Replace postmaster.c's own backend type codes with BackendType

Attachments

On 2025-Sep-18, Jonathan Abdiel Gonzalez Valdebenito wrote:

> The call to gettext_noop() was missing, hence, the translation for the
> backends was missing. I've attached a third commit to your patch
> adding the missing gettext_noop() and also adding the include
> directory to the nls.mk Makefile which will add proctypelist.h to the
> list of files used to generate the po.

Thank you, that makes sense.  CI says that we still have problems in
mingw32 cross-compile apparently because of 0002, so I decided to ditch
it for now (it's non-essential anyway).  Another failure is `make
headerscheck`, which hopefully I've fixed her: just tell it to skip this
file.  Here's v4, which I would push right away except I want to see
if CI now turns green.

We can pursue 0002 later, if anybody feels the motivation to do so.  I
think it'd be a good idea.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Ed is the standard text editor."
      http://groups.google.com/group/alt.religion.emacs/msg/8d94ddab6a9b0ad3