diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-05 13:10:07 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-05-05 13:10:07 -0400 |
commit | 000f557c3111add0e5aa28936ba8ad49ff896667 (patch) | |
tree | fcd1c4e473b57d28f1ba152cb08ac4fc67a18a92 /src/backend/access/gist/gistget.c | |
parent | 030ad0acfa5794c645a9a6093fdd3ed4d4f4788c (diff) | |
download | postgresql-000f557c3111add0e5aa28936ba8ad49ff896667.tar.gz postgresql-000f557c3111add0e5aa28936ba8ad49ff896667.zip |
Fix style violations in syscache lookups.
Project style is to check the success of SearchSysCacheN and friends
by applying HeapTupleIsValid to the result. A tiny minority of calls
creatively did it differently. Bring them into line with the rest.
This is just cosmetic, since HeapTupleIsValid is indeed just a null
check at the moment ... but that may not be true forever, and in any
case it puts a mental burden on readers who may wonder why these
call sites are not like the rest.
Back-patch to v11 just to keep the branches in sync. (The bulk of these
errors seem to have originated in v11 or v12, though a few are old.)
Per searching to see if anyplace else had made the same error
repaired in 62148c352.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions