Re: ECPG cleanup and fix for clang compile-time problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ECPG cleanup and fix for clang compile-time problem
Date
Msg-id 2047501.1713498839@sss.pgh.pa.us
Whole thread Raw
In response to Re: ECPG cleanup and fix for clang compile-time problem  (Andres Freund <andres@anarazel.de>)
Responses Re: ECPG cleanup and fix for clang compile-time problem
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2024-04-18 23:11:52 -0400, Tom Lane wrote:
>> I was just looking locally at what I got by removing that, and sadly
>> I don't think I believe it: there are a lot of places where it claims
>> we hit lines we don't, and vice versa.  That might be partially
>> blamable on old tools on my RHEL8 workstation, but it sure seems
>> that flex output confuses lcov to some extent.

> Hm. Here it mostly looks reasonable, except that at least things seem off by
> 1.

Yeah, now that you mention it what I'm seeing looks like the line
numbering might be off-by-one.  Time for a bug report?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Allow tests to pass in OpenSSL FIPS mode
Next
From: Tom Lane
Date:
Subject: Re: Allow tests to pass in OpenSSL FIPS mode