Re: Inconsistencies around defining FRONTEND - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Inconsistencies around defining FRONTEND
Date
Msg-id 20220823232445.jpp56meso7fgrpns@awork3.anarazel.de
Whole thread Raw
In response to Re: Inconsistencies around defining FRONTEND  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Inconsistencies around defining FRONTEND
List pgsql-hackers
Hi,

On 2022-08-23 17:24:30 -0400, Robert Haas wrote:
> On Sat, Aug 20, 2022 at 3:46 PM Andres Freund <andres@anarazel.de> wrote:
> > Unfortunately, the remaining uses of FRONTEND are required. That's:
> > - pg_controldata, via #define
> > - pg_resetwal, via #define
> > - pg_rewind, via -DFRONTEND, due to xlogreader.c
> > - pg_waldump, via #define and -DFRONTEND, due to xlogreader.c, xlogstats.c, rmgrdesc/*desc.c
>
> Actually, I think we could fix these pretty easily too.

I just meant that they're not already obsolete ;)


> See attached.

Just to make sure I understand - you're just trying to get rid of the #define
frontends, not the -DFRONTENDs passed in from the Makefile? Because afaics we
still need those, correct?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Inconsistencies around defining FRONTEND
Next
From: Robert Haas
Date:
Subject: Re: Inconsistencies around defining FRONTEND