Re: improve pgbench syntax error messages - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: improve pgbench syntax error messages
Date
Msg-id alpine.DEB.2.10.1503071145120.24480@sto
Whole thread Raw
In response to Re: improve pgbench syntax error messages  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: improve pgbench syntax error messages
List pgsql-hackers
> Here is a v3, which (1) activates better error messages from bison
> and (2) improves the error reporting from the scanner as well.

v4.

While adding a basic function call syntax to expressions, a noticed that 
it would be useful to access the "detail" field of syntax errors so as to 
report the name of the unknown function. This version just adds the hook 
(expr_yyerror_detailed) that could be called later for this purpose.

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Question about lazy_space_alloc() / linux over-commit
Next
From: Michael Paquier
Date:
Subject: Re: Improving test coverage of extensions with pg_dump