Re: extend pgbench expressions with functions

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: extend pgbench expressions with functions
Date: 2016-01-27 21:20:39
Message-ID: CA+TgmoZLBfq3CGicwAu2rEv6NhpWJ4SQ0DQ9Q_xAMK3viRhObg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 16, 2016 at 1:10 PM, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> All these results are fine from my point of view.
>
>> And this one generates a core dump:
>> \set cid debug(-9223372036854775808 / -1)
>> Floating point exception: 8 (core dumped)

That does not seem acceptable to me. I don't want pgbench to die a
horrible death if a floating point exception occurs any more than I
want the server to do the same. I want the error to be properly
caught and reported.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Igal @ Lucee.org 2016-01-27 21:31:09 Re: Implementing a new Scripting Language
Previous Message Tomasz Rybak 2016-01-27 21:10:57 Re: Interesting read on SCM upending software and hardware architecture