Re: pg_bsd_indent compiles bytecode - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_bsd_indent compiles bytecode
Date
Msg-id 175371.1593298444@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_bsd_indent compiles bytecode  (Andres Freund <andres@anarazel.de>)
Responses Re: pg_bsd_indent compiles bytecode
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2020-06-27 17:12:57 -0400, Tom Lane wrote:
>> I wouldn't care about this particularly for pg_bsd_indent itself,
>> but it suggests that we're probably building .bc files for client-side
>> files, which seems like a substantial waste of time.  Maybe we need
>> different CFLAGS for client and server?

> I don't think it'll apply to most in-tree client side programs, so it
> shouldn't be too bad currently. Still should fix it, of course.

Having now checked, there isn't any such problem.  No .bc files are
getting built except in src/backend and in other modules that feed
into the backend, such as src/timezone and most of contrib.

I do see .bc files getting built for pg_bsd_indent, as Alvaro reported.
Seems like it must be a bug in the pgxs make logic, not anything more
generic.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_bsd_indent compiles bytecode
Next
From: Abel Abraham Camarillo Ojeda
Date:
Subject: Re: PostgreSQL: WolfSSL support