Re: add modulo (%) operator to pgbench - Mailing list pgsql-hackers

From Robert Haas
Subject Re: add modulo (%) operator to pgbench
Date
Msg-id CA+Tgmoa6v_qwEy_p1HG-ZnPF59CfoNKa8UO_0Hv1YVvTsiBuJQ@mail.gmail.com
Whole thread Raw
In response to Re: add modulo (%) operator to pgbench  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: add modulo (%) operator to pgbench  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On Mon, Mar 2, 2015 at 5:41 PM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
>> but I'd like to have a more robust discussion about what we want the error
>> reporting to look like rather than just sliding it into this patch.
>
> As an input, I suggest that the error reporting feature should provide a
> clue about where the issue is, including a line number and possibly the
> offending line. Not sure what else is needed.

I agree.  But I think it might be better to try to put everything
related to a single error on one line, in a consistent format, e.g.:

bad.sql:3: syntax error in set command at column 25

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Patch: raise default for max_wal_segments to 1GB
Next
From: Alvaro Herrera
Date:
Subject: Re: Idea: GSoC - Query Rewrite with Materialized Views