Re: pgsql: Add pow(), aka power(), function to pgbench.

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Robert Haas <rhaas(at)postgresql(dot)org>, pgsql-committers <pgsql-committers(at)postgresql(dot)org>, rmrodriguez(at)carto(dot)com
Subject: Re: pgsql: Add pow(), aka power(), function to pgbench.
Date: 2017-12-29 11:57:39
Message-ID: alpine.DEB.2.20.1712291255350.14239@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers


> # debug(script=0,command=31): double 8.50705917302346e+037
> # doesn't match '(?^:command=31.: double 8.50705917302346e\+37\b)'
>
> # debug(script=0,command=32): double 1e+030
> # doesn't match '(?^:command=32.: double 1e\+30\b)'
>
> The difference seems to be a leading zero before the exponent, so
> perhaps the patterns need "0*" in there?

Probably "0?". Although an int with leading zeros is usually an octal
number, so window's rational fails me.

--
Fabien.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Raúl Marín Rodríguez 2017-12-29 13:04:45 Re: pgsql: Add pow(), aka power(), function to pgbench.
Previous Message Thomas Munro 2017-12-29 10:06:10 Re: pgsql: Use new overflow aware integer operations.