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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-06-30T12:18:04Z
Lists: pgsql-hackers
On Fri, Jun 26, 2020 at 09:59:30AM +0900, Michael Paquier wrote:
> Thanks.  This list is provided by OBJS_FRONTEND in
> src/common/Makefile, and pgcommonfrontendfiles in Mkvcbuild.pm.  Let's
> see if others have comments, as it just looks like something that was
> forgotten in bf5bb2e and fc9a62a when this code was moved to
> src/common/.  If there are no objections, I'll revisit that some time
> next week and fix it on HEAD.

And committed as of 324435e.
--
Michael

Commits

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