pgsql: Update dummy CREATE ASSERTION grammar

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update dummy CREATE ASSERTION grammar
Date: 2018-09-26 11:30:33
Message-ID: E1g581Z-0007DO-B8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Update dummy CREATE ASSERTION grammar

While we are probably still far away from fully implementing
assertions, all patch proposals appear to take issue with the existing
dummy grammar CREATE/DROP ASSERTION productions, so update those a
little bit. Rename the rule, use any_name instead of name, and remove
some unused code. Also remove the production for DROP ASSERTION,
since that would most likely be handled via the generic DROP support.

extracted from a patch by Joe Wildish

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a49ceda6a044c2fc104b3d1397fe0bef8679d1aa

Modified Files
--------------
src/backend/parser/gram.y | 39 +++++++--------------------------------
1 file changed, 7 insertions(+), 32 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-09-26 15:06:53 pgsql: Convert elog.c's useful_strerror() into a globally-used strerror
Previous Message Tomas Vondra 2018-09-26 09:09:02 pgsql: Fix problems in handling the line data type