Re: pgbench's expression parsing & negative numbers

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgbench's expression parsing & negative numbers
Date: 2018-07-13 08:46:23
Message-ID: alpine.DEB.2.21.1807131040220.27883@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello Andres,

>> I'll come up with a patch for that sometime soon.
>
> ISTM that you have not sent any patch on the subject, otherwise I would
> have reviewed it. Maybe I could do one some time later, unless you think
> that I should not.

Here is a patch which detects pgbench overflows on int & double constants,
and on integer operators.

--
Fabien.

Attachment Content-Type Size
pgbench-overflow-2.patch text/plain 12.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2018-07-13 08:46:27 Re: Failed assertion due to procedure created with SECURITY DEFINER option
Previous Message Kyotaro HORIGUCHI 2018-07-13 08:40:04 Re: [HACKERS] Restricting maximum keep segments by repslots