pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Cc: rmrodriguez@carto.com
Subject: Re: pgsql: Add pow(), aka power(), function to pgbench.
Date: Fri, 29 Dec 2017 12:57:39 +0100 (CET)
Message-ID: <alpine.DEB.2.20.1712291255350.14239@lancre> (raw)
In-Reply-To: <CAEepm=05eHoN6XL1JCGwd7Kr5+By3hSMgFSqT=Jzqm522=pcxQ@mail.gmail.com>
References: <E1eUGjI-0000le-LP@gemulon.postgresql.org>
	<CAEepm=05eHoN6XL1JCGwd7Kr5+By3hSMgFSqT=Jzqm522=pcxQ@mail.gmail.com>


> # 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.




view thread (5+ messages)  latest in thread

Message-ID: <alpine.DEB.2.20.1712291255350.14239@lancre>
Permalink:  ../alpine.DEB.2.20.1712291255350.14239@lancre/
Also on:    postgresql.org/message-id/alpine.DEB.2.20.1712291255350.14239@lancre

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: coelho@cri.ensmp.fr, thomas.munro@enterprisedb.com, rhaas@postgresql.org, rmrodriguez@carto.com
  Subject: Re: pgsql: Add pow(), aka power(), function to pgbench.
  In-Reply-To: <alpine.DEB.2.20.1712291255350.14239@lancre>
  References: <E1eUGjI-0000le-LP@gemulon.postgresql.org> <CAEepm=05eHoN6XL1JCGwd7Kr5+By3hSMgFSqT=Jzqm522=pcxQ@mail.gmail.com> <alpine.DEB.2.20.1712291255350.14239@lancre>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox