Thread: [HACKERS] Minor fix for EventCacheLookup()

[HACKERS] Minor fix for EventCacheLookup()

From
Amit Langote
Date:
It should return NIL when no entry is found in the cache, not NULL.

Attached patch fixes that.

Thanks,
Amit

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

Re: [HACKERS] Minor fix for EventCacheLookup()

From
Robert Haas
Date:
On Tue, Jun 6, 2017 at 12:24 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:
> It should return NIL when no entry is found in the cache, not NULL.
>
> Attached patch fixes that.

I'm not sure how much value neatnik-ism has in cases like this, but committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company