Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

    =#

Responses

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group