Re: numeric regression test passes, but why?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: numeric regression test passes, but why?
Date: 2018-01-11 07:07:52
Message-ID: 19594.1515654472@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chapman Flack <chap(at)anastigmatix(dot)net> writes:
> I see there are some tests in src/test/regress:
> [ that don't work for me ]
> Is there some special GUC setting in effect during the make check
> that would be different in my ordinary session? What else could
> be different? This is making me question my sanity.

Hm, it won't help your sanity to know that those cases pass fine
for me, interactively, on a couple of different machines:

$ psql postgres
psql (11devel)
Type "help" for help.

postgres=# select 0.12 ^ (-25);
?column?
-------------------------------------------
104825960103961013959336.4983657883169110
(1 row)

postgres=# select 0.5678 ^ (-85);
?column?
----------------------------------------
782333637740774446257.7719390061997396
(1 row)

You sure you're using a stock build of Postgres? No handmade
versions of operator ^ lying around?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2018-01-11 07:53:30 Re: Incorrect comment for expand_single_inheritance_child
Previous Message Kyotaro HORIGUCHI 2018-01-11 06:59:10 Re: [HACKERS] Restricting maximum keep segments by repslots