Re: Cube extension point support // GSoC'13

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Stas Kelvich <stas(dot)kelvich(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-students(at)postgresql(dot)org, Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Subject: Re: Cube extension point support // GSoC'13
Date: 2013-10-09 18:07:55
Message-ID: CA+TgmoZdaou7E9wBApexPkYvOiEKBW2Xp8+G6rNFYxav8gVT4Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-students

On Tue, Sep 24, 2013 at 9:07 AM, Stas Kelvich <stas(dot)kelvich(at)gmail(dot)com> wrote:
> Hello
>
> There is new version of patch. I have separated ordering operators to different patch (https://commitfest.postgresql.org/action/patch_view?id=1243), fixed formatting issues and implemented backward compatibility with old-style points in cube_is_point() and cube_out().
>
> Also comparing output files I've discovered that this four files is combination of two types of different behavior:
>
> 1) SELECT '-1e-700'::cube AS cube;
> can be (0) or (-0)
>
> 2) Amount of zeros in exponent of floating point, i.e. SELECT '1e27'::cube AS cube;
> can be (1e+027) or (1e+27)
>
> On my system (OSX) it is second option in both situations. I've also tested it on FreeBSD 9.0 and Ubuntu 12.04 with the same results. So is there some ideas how can I reproduce such results?

Heikki, are you going to review this further for this CommitFest?

Is there a prerequisite patch that hasn't been committed yet?

--
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 Robert Haas 2013-10-09 18:10:42 Re: ENABLE/DISABLE CONSTRAINT NAME
Previous Message Robert Haas 2013-10-09 18:06:15 Re: Assertions in PL/PgSQL

Browse pgsql-students by date

  From Date Subject
Next Message Heikki Linnakangas 2013-10-11 13:56:28 Re: [HACKERS] Cube extension point support // GSoC'13
Previous Message Thom Brown 2013-09-29 22:45:14 Re: Pencils down!