Re: [PATCH] Revive line type - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [PATCH] Revive line type
Date
Msg-id 20130916220432.GC4991@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: [PATCH] Revive line type  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [PATCH] Revive line type
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: record identical operator
Next
From: Noah Misch
Date:
Subject: Re: Row-wise Comparison