Re: [HACKERS] Minor fix for EventCacheLookup()

2017-06-06 Thread Robert Haas
On Tue, Jun 6, 2017 at 12:24 AM, Amit Langote 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:

[HACKERS] Minor fix for EventCacheLookup()

2017-06-05 Thread Amit Langote
It should return NIL when no entry is found in the cache, not NULL. Attached patch fixes that. Thanks, Amit diff --git a/src/backend/utils/cache/evtcache.c b/src/backend/utils/cache/evtcache.c index 54ddc55f76..6faf4ae354 100644 --- a/src/backend/utils/cache/evtcache.c +++