On Tue, May 19, 2015 at 2:23 PM, Andres Freund <and...@anarazel.de> wrote: > Pushed.
I eyeballed the commit, and realized that I made a trivial error. New patch attached fixing that. Sorry for not getting this fix completely right first time around. Don't know how I missed it. -- Peter Geoghegan
diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c index 8cdef08..0585251 100644 --- a/src/backend/utils/adt/ruleutils.c +++ b/src/backend/utils/adt/ruleutils.c @@ -5500,7 +5500,7 @@ get_insert_query_def(Query *query, deparse_context *context) get_rule_expr(confl->arbiterWhere, context, false); } } - else + else if (confl->constraint != InvalidOid) { char *constraint = get_constraint_name(confl->constraint);
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers