Обсуждение: [HACKERS] Minor fix for EventCacheLookup()

Поиск
Список
Период
Сортировка

[HACKERS] Minor fix for EventCacheLookup()

От
Amit Langote
Дата:
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

Вложения

Re: [HACKERS] Minor fix for EventCacheLookup()

От
Robert Haas
Дата:
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