Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VLhjE-0007xp-8M for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Sep 2013 22:57:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VLhjD-00008l-G7 for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Sep 2013 22:57:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VLhjC-00008d-EH for pgsql-hackers@postgresql.org; Mon, 16 Sep 2013 22:57:10 +0000 Received: from 173-164-140-181-sfba.hfc.comcastbusiness.net ([173.164.140.181] helo=fetter.org) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VLhj9-0003hH-31 for pgsql-hackers@postgresql.org; Mon, 16 Sep 2013 22:57:10 +0000 Received: by fetter.org (Postfix, from userid 500) id EEDEF302391; Mon, 16 Sep 2013 15:57:03 -0700 (PDT) Date: Mon, 16 Sep 2013 15:57:03 -0700 From: David Fetter To: Alvaro Herrera Cc: Peter Eisentraut , rui hua <365507506hua@gmail.com>, pgsql-hackers Subject: Re: [PATCH] Revive line type Message-ID: <20130916225703.GA24324@fetter.org> References: <1372296877.5915.5.camel@vanquo.pezone.net> <1379219721.10763.1.camel@vanquo.pezone.net> <20130916220432.GC4991@eldon.alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130916220432.GC4991@eldon.alvh.no-ip.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Mon, Sep 16, 2013 at 07:04:32PM -0300, Alvaro Herrera wrote: > 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. 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? Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers