Suppress bison warning in ecpg grammar.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Jan 2021 00:25:39 +0000 (19:25 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Jan 2021 00:25:39 +0000 (19:25 -0500)
commit3fc81ce459e1696f7e5e5b3b8229409413bf64b4
tree6c0ad42368ee73d8c2c57690f5b3396c8a53a61c
parent50bebc1ae1804e0ddf86b667122d3f8b22fa19b7
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
src/interfaces/ecpg/preproc/parse.pl