diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-04-16 14:02:47 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-04-16 14:02:47 -0400 |
commit | a1888b59b511b42290a6fcfa87e35323d128c4f6 (patch) | |
tree | ac5a8a992618f31b43f9e29d2974b601be1d86d6 /src/backend/access/transam/xlogutils.c | |
parent | 033b969edde62c84ee15b53972ee638150a28c90 (diff) | |
download | postgresql-a1888b59b511b42290a6fcfa87e35323d128c4f6.tar.gz postgresql-a1888b59b511b42290a6fcfa87e35323d128c4f6.zip |
Sync addRangeTableEntryForENR() with its peer functions.
addRangeTableEntryForENR had a check for pstate != NULL, which Coverity
pointed out was rather useless since it'd already dereferenced pstate
before that. More to the point, we'd established policy in commit
bc93ac12c that we'd require non-NULL pstate for all addRangeTableEntryFor*
functions; this test was evidently copied-and-pasted from some older
version of one of those functions. Make it look more like the others.
In passing, make an elog message look more like the rest of the code,
too.
Michael Paquier
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions