Re: [PATCH] Revive line type

From: Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: David Fetter <david(at)fetter(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, rui hua <365507506hua(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Revive line type
Date: 2013-09-25 08:56:17
Message-ID: CAM2+6=XZRjhcdHSs_2f+2kmCjdYRyjr_xgJO7SsxGrE_g6Q6jg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-rrreviewers

Hi,

I had a look over this patch and here are my review points:

1. Patch applies cleanly.
2. make, make install and make check is good.
3. I did lot of random testing and didn't find any issue.
4. Test coverage is very well. It has all scenarios and all operators are
tested with line. That's really great.

So no issues from my side.

However, do we still need this in close_pl() ?

#ifdef NOT_USED
if (FPeq(line->A, -1.0) && FPzero(line->B))
{ /* vertical */
}
#endif

Also close_sl, close_lb and dist_lb are NOT yet implemented. It will be good
if we have those. But I don't think we should wait for those functions to be
implemented. We can go ahead with this. Please confirm above concern so that
I will mark it as "Ready for Committer".

Thanks

On Tue, Sep 17, 2013 at 7:34 AM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>wrote:

> David Fetter escribió:
>
> > Should the things you tried and others be in the regression tests? If
> > so, should we start with whatever had been in the regression tests
> > when the line type was dropped?
>
> Actually, the patch does include a regression test for the revived type
> (and it passes). I don't think more than that is needed.
>
> --
> Álvaro Herrera http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

--
Jeevan B Chalke
Principal Software Engineer, Product Development
EnterpriseDB Corporation

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-09-25 09:31:20 Re: Freezing without write I/O
Previous Message David Rowley 2013-09-25 08:46:52 Re: FW: REVIEW: Allow formatting in log_line_prefix

Browse pgsql-rrreviewers by date

  From Date Subject
Next Message Peter Eisentraut 2013-10-02 00:42:46 Re: [PATCH] Revive line type
Previous Message Andrew Dunstan 2013-09-22 03:10:36 Re: VMs for Reviewers Available