Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YYIZH-00081o-2Q for pgsql-bugs@arkaria.postgresql.org; Wed, 18 Mar 2015 18:19:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YYIZG-0006iL-Dv for pgsql-bugs@arkaria.postgresql.org; Wed, 18 Mar 2015 18:19:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YYIZF-0006iF-RC for pgsql-bugs@postgresql.org; Wed, 18 Mar 2015 18:19:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YYIZC-0007Fn-MU for pgsql-bugs@postgresql.org; Wed, 18 Mar 2015 18:19:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t2IIJem8030220; Wed, 18 Mar 2015 14:19:40 -0400 From: Tom Lane To: m8r-444fqh@mailinator.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12877: Altitude not respected in order by and group by In-reply-to: <20150318152716.2739.45328@wrigleys.postgresql.org> References: <20150318152716.2739.45328@wrigleys.postgresql.org> Comments: In-reply-to m8r-444fqh@mailinator.com message dated "Wed, 18 Mar 2015 15:27:16 -0000" Date: Wed, 18 Mar 2015 14:19:40 -0400 Message-ID: <30219.1426702780@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org m8r-444fqh@mailinator.com writes: > -- 1.Query, fails to sort altitude: > select edge, st_astext( vertex ) from v001 > order by vertex,edge; > -- 2.Query, fails to respect altitude: > select array_agg( edge ) as edges, st_astext(vertex) from v001 > group by vertex; It's not entirely clear to me that those *should* do something with altitude, but in any case this is not a Postgres issue it's a Postgis issue. You need to take it up on the postgis mailing lists. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs