pgsql: Suppress bison warning in ecpg grammar.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress bison warning in ecpg grammar.
Date: 2021-01-23 00:26:13
Message-ID: E1l36kn-0006wl-8G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress bison warning in ecpg grammar.

opt_distinct_clause is only used in PLpgSQL_Expr, which ecpg
ignores, so it needs to ignore opt_distinct_clause too.

My oversight in 7cd9765f9; reported by Bruce Momjian.

Discussion: https://postgr.es/m/E1l33wr-0005sJ-9n@gemulon.postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3fc81ce459e1696f7e5e5b3b8229409413bf64b4

Modified Files
--------------
src/interfaces/ecpg/preproc/parse.pl | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-01-23 00:32:07 Re: pgsql: Re-allow DISTINCT in pl/pgsql expressions.
Previous Message Bruce Momjian 2021-01-23 00:18:44 Re: pgsql: Re-allow DISTINCT in pl/pgsql expressions.