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(-)
pgsql-committers by date
| Next: | From: Bruce Momjian | Date: 2012-03-16 22:54:26 |
| Subject: pgsql: In pg_upgrade,create a script to incrementally generate more ac |
| Previous: | From: Tom Lane | Date: 2012-03-16 18:08:05 |
| Subject: pgsql: Improve commentary in match_pathkeys_to_index(). |