Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3fc81ce

Browse files
committed
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 7cd9765; reported by Bruce Momjian. Discussion: https://postgr.es/m/E1l33wr-0005sJ-9n@gemulon.postgresql.org
1 parent 50bebc1 commit 3fc81ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/interfaces/ecpg/preproc/parse.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
'type_function_name' => 'ignore',
7272
'ColLabel' => 'ignore',
7373
'Sconst' => 'ignore',
74+
'opt_distinct_clause' => 'ignore',
7475
'PLpgSQL_Expr' => 'ignore',
7576
'PLAssignStmt' => 'ignore',
7677
'plassign_target' => 'ignore',

0 commit comments

Comments
 (0)