Fix crash when pg_get_viewdef_name_ext() is passed a non-view relation.
Oversight in commit 976b24fb4.
Andreas Seltenreich
Report: <87y448l3ag(dot)fsf(at)credativ(dot)de>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/8a8c6b53810026641a1e12f60f873a7bd3cea5e3
Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)