pgsql: Fix yet another bug in ON CONFLICT rule deparsing.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix yet another bug in ON CONFLICT rule deparsing.
Date: 2015-05-23 00:20:10
Message-ID: E1YvxAg-0004z8-Nx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix yet another bug in ON CONFLICT rule deparsing.

Expand testing of rule deparsing a good bit, it's evidently needed.

Author: Peter Geoghegan, Andres Freund
Discussion: CAM3SWZQmXxZhQC32QVEOTYfNXJBJ_Q2SDENL7BV14Cq-zL0FLg(at)mail(dot)gmail(dot)com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/284bef297733e553c73f1c858e0ce1532f754d18

Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 2 +-
src/test/regress/expected/rules.out | 55 +++++++++++++++++++++++++++++++++--
src/test/regress/sql/rules.sql | 23 +++++++++++++--
3 files changed, 75 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-05-23 00:20:55 Re: Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.
Previous Message Andres Freund 2015-05-22 23:34:20 pgsql: Remove the new UPSERT command tag and use INSERT instead.