Re: [PATCH] Revive line type

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: rui hua <365507506hua(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Revive line type
Date: 2013-09-16 22:04:32
Message-ID: 20130916220432.GC4991@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-rrreviewers

Peter Eisentraut escribió:
> Here is a new patch for the line type, with a new input/output format
> {A,B,C}, as discussed in this thread.

I gave this a quick look. The new input/output format appears to work
well. The input format using two points still works, which is nice.
Regression tests pass. I tried binary input and output using COPY and
it seems to round-trip without problem.

With the two-point input, horizontal and vertical lines can accept NaNs
without producing a NaN in the output if not necessary.

I tried "interpt" and "intersect" functions and they seem to work.
Haven't gotten around to trying other functions or operators.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2013-09-16 22:22:50 Re: Row-wise Comparison
Previous Message Andres Freund 2013-09-16 22:01:37 Re: record identical operator

Browse pgsql-rrreviewers by date

  From Date Subject
Next Message David Fetter 2013-09-16 22:57:03 Re: [PATCH] Revive line type
Previous Message Peter Eisentraut 2013-09-15 04:35:21 Re: [PATCH] Revive line type