point does not return a center of lseg

From: Kenji Sugita <sugita(at)srapc1327(dot)sra(dot)co(dot)jp>
To: pgsql-patches(at)postgresql(dot)org
Subject: point does not return a center of lseg
Date: 2002-12-29 17:13:18
Message-ID: 20021230.021318.74734606.sugita@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Point does not return a center of lseg.

Before patch:

=# select point(lseg '((1, 1), (2, 2))');
point
-------------
(-0.5,-0.5)
(1 row)

=#

After patch:

=# select point(lseg '((1, 1), (2, 2))');
point
-----------
(1.5,1.5)
(1 row)

=#

Attachment Content-Type Size
unknown_filename text/plain 669 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Kevin Brown 2002-12-30 00:39:37 Re: MOVE strangeness
Previous Message Kenji Sugita 2002-12-29 16:54:42 point does not return a center of lseg