Thread: pgsql: Clean up foreign-key caching code in planner.

pgsql: Clean up foreign-key caching code in planner.

From
Tom Lane
Date:
Clean up foreign-key caching code in planner.

Coverity complained that the code added by 015e88942aa50f0d lacked an
error check for SearchSysCache1 failures, which it should have.  But
the code was pretty duff in other ways too, including failure to think
about whether it could really cope with arrays of different lengths.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5306df2831ab012d8008691f833457bc299962aa

Modified Files
--------------
src/backend/optimizer/util/plancat.c | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)