New version of GENERATED/IDENTITY, was Re: parser dilemma - Mailing list pgsql-patches

From Zoltan Boszormenyi
Subject New version of GENERATED/IDENTITY, was Re: parser dilemma
Date
Msg-id 46308962.8020408@cybertec.at
Whole thread Raw
In response to Re: [HACKERS] parser dilemma  (Zoltan Boszormenyi <zb@cybertec.at>)
Responses Re: New version of GENERATED/IDENTITY, was Re: parser dilemma
List pgsql-patches
Hi,

here's the patch with the modifications suggested by Tom Lane.
The postfix rule was deleted from b_expr and the reverse parsing
in ruleutils.c::get_oper_expr() always puts parentheses around
postfix operators.

Other changes:
- OVERRIDING SYSTEM VALUE in COPY can appear
   at any place in the option list.
- pg_dump was modified accordingly
- \copy built-in in psql now also accepts OVERRIDING SYSTEM VALUE
- documentation and testcase updates

Please, review.

Best regards,
Zoltán Böszörményi

--
----------------------------------
Zoltán Böszörményi
Cybertec Geschwinde & Schönig GmbH
http://www.postgresql.at/


pgsql-patches by date:

Previous
From: Gregory Stark
Date:
Subject: updated SORT/LIMIT patch
Next
From: Zoltan Boszormenyi
Date:
Subject: Re: New version of GENERATED/IDENTITY, was Re: parser dilemma