Content-Length: 258548 | pFad | http://github.com/postgrespro/postgres_cluster/commit/3106829513ab7c8e46e94db103f1ef8d8dfd379b

F5 Use NIL rather than NULL to represent an empty list. · postgrespro/postgres_cluster@3106829 · GitHub
Skip to content

Commit 3106829

Browse files
committed
Use NIL rather than NULL to represent an empty list.
Just to be tidy. Amit Langote Discussion: http://postgr.es/m/9297f80f-e4ab-7dda-33d4-8580bab6d634@lab.ntt.co.jp
1 parent 2186b60 commit 3106829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/cache/evtcache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ EventCacheLookup(EventTriggerEvent event)
6868
if (EventTriggerCacheState != ETCS_VALID)
6969
BuildEventTriggerCache();
7070
entry = hash_search(EventTriggerCache, &event, HASH_FIND, NULL);
71-
return entry != NULL ? entry->triggerlist : NULL;
71+
return entry != NULL ? entry->triggerlist : NIL;
7272
}
7373

7474
/*

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/3106829513ab7c8e46e94db103f1ef8d8dfd379b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy