]> granicus.if.org Git - postgresql/commit
Give error message, rather than coredump, for utility statements in
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Jun 2001 16:17:30 +0000 (16:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 4 Jun 2001 16:17:30 +0000 (16:17 +0000)
commiteeaa497e7b31b52be919e7fbd4125f66c60ce87e
tree50f829e39bced0cbba0de09b8da913fddcc9582b
parent12c1552066cac81a6b93062e8966cfa0d2d56af5
Give error message, rather than coredump, for utility statements in
conditional rules (rules with WHERE clauses).  We cannot support these
since there's noplace to hang a condition on a utility statement.
We caught the other case (attempt to attach a condition at rewrite time)
awhile ago, but this one escaped notice until now.
src/backend/parser/analyze.c