Re: Missing some ifndef FRONTEND at the top of logging.c and file_utils.c

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-06-25T09:15:03Z
Lists: pgsql-hackers
> On 25 Jun 2020, at 10:07, Michael Paquier <michael@paquier.xyz> wrote:

> So, shouldn't that stuff be added as per the attached?

That makes sense, logging.c and file_utils.c are indeed only part of
libpgcommon.a and should only be compiled for frontend.

cheers ./daniel



Commits

  1. Prevent compilation of frontend-only files in src/common/ with backend