diff options
author | Tom Lane | 2021-01-23 00:25:39 +0000 |
---|---|---|
committer | Tom Lane | 2021-01-23 00:25:39 +0000 |
commit | 3fc81ce459e1696f7e5e5b3b8229409413bf64b4 (patch) | |
tree | 6c0ad42368ee73d8c2c57690f5b3396c8a53a61c | |
parent | 50bebc1ae1804e0ddf86b667122d3f8b22fa19b7 (diff) |
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/[email protected]
-rw-r--r-- | src/interfaces/ecpg/preproc/parse.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/preproc/parse.pl b/src/interfaces/ecpg/preproc/parse.pl index a84243fc8f..e46d2a589b 100644 --- a/src/interfaces/ecpg/preproc/parse.pl +++ b/src/interfaces/ecpg/preproc/parse.pl @@ -71,6 +71,7 @@ my %replace_types = ( 'type_function_name' => 'ignore', 'ColLabel' => 'ignore', 'Sconst' => 'ignore', + 'opt_distinct_clause' => 'ignore', 'PLpgSQL_Expr' => 'ignore', 'PLAssignStmt' => 'ignore', 'plassign_target' => 'ignore', |