Re: [HACKERS] Compiler warnings - Mailing list pgsql-hackers

From Joe Conway
Subject Re: [HACKERS] Compiler warnings
Date
Msg-id e7b6eff6-a9de-fe8b-00ef-6fde5d5d8cf0@joeconway.com
Whole thread Raw
In response to Re: Compiler warnings  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [HACKERS] Compiler warnings  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 12/06/2016 01:59 PM, Robert Haas wrote:
> On Tue, Dec 6, 2016 at 3:46 PM, Stephen Frost <sfrost@snowman.net> wrote:
>> Good thought, thanks!
>>
>> Updated patch attached with that change and I also added an Assert() to
>> GetCachedPlan(), in case that code gets whacked around later and somehow
>> we end up falling through without actually setting *plan.
>>
>> Thoughts?
>
> wfm
>

Shouldn't this be back-patched? The plancache warning goes back through
9.2 (at least) and the lwlocks warning through 9.5 (or maybe it was 9.4).

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] FW: VACUUM FULL Error
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Improving RLS planning