]> granicus.if.org Git - postgresql/commit
Remove residual NULL-pstate handling in addRangeTableEntry.
authorRobert Haas <rhaas@postgresql.org>
Tue, 3 Mar 2015 21:31:26 +0000 (16:31 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 3 Mar 2015 21:31:26 +0000 (16:31 -0500)
commit5223ddacdc737b401ed58184e321f354bdf46686
tree92d677955382c8643ff581b793fca9a58fb54409
parenta2e35b53c39b2a27d3e332dc7c506539c306fd44
Remove residual NULL-pstate handling in addRangeTableEntry.

Passing a NULL pstate wouldn't actually work, because isLockedRefname()
isn't prepared to cope with it; and there hasn't been any in-core code
that tries in over a decade.  So just remove the residual NULL handling.

Spotted by Coverity; analysis and patch by Michael Paquier.
src/backend/parser/parse_relation.c