Re: recent compiler warnings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: recent compiler warnings
Date
Msg-id 16656.1472007954@sss.pgh.pa.us
Whole thread Raw
In response to Re: recent compiler warnings  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2016-08-23 19:54:39 -0700, Jeff Janes wrote:
>> commit ed0097e4f9e6b1 has introduced two compiler warnings:

> That's probably when compiling without assertions, right? rd_index is
> only read from within Assert()'s.... Probably needs a
> PG_USED_FOR_ASSERTS_ONLY slapped on.

Yeah, looks like that to me too.  I'm on it.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: recent compiler warnings
Next
From: Etsuro Fujita
Date:
Subject: Re: Oddity in EXPLAIN for foreign/custom join pushdown plans