Thread: pgsql: pg_dump: Fix crash with invalid pg_cast row

pgsql: pg_dump: Fix crash with invalid pg_cast row

From
Peter Eisentraut
Date:
pg_dump: Fix crash with invalid pg_cast row

An invalid combination of pg_cast.castfunc and pg_cast.castmethod
would result in a segmentation fault.  Now it prints a warning.

found by Coverity

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/359dea2859c63e73c8f3f4d769e5cf1eda2a428d

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |   23 +++++++++++++----------
1 files changed, 13 insertions(+), 10 deletions(-)