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

From Fabien COELHO
Subject Re: add modulo (%) operator to pgbench
Date
Msg-id alpine.DEB.2.10.1503040913060.12750@sto
Whole thread Raw
In response to Re: add modulo (%) operator to pgbench  (Robert Haas <robertmhaas@gmail.com>)
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

Hmmm... sure that's better. I'll look into that.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Optimization for updating foreign tables in Postgres FDW
Next
From: Kouhei Kaigai
Date:
Subject: Re: Join push-down support for foreign tables