Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UpdkO-0008HZ-S7 for pgsql-sql@arkaria.postgresql.org; Thu, 20 Jun 2013 12:13:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UpdkO-0003nQ-9F for pgsql-sql@arkaria.postgresql.org; Thu, 20 Jun 2013 12:13:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UpdkN-0003nK-Lh for pgsql-sql@postgresql.org; Thu, 20 Jun 2013 12:13:51 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Updjp-0004yZ-8E for pgsql-sql@postgresql.org; Thu, 20 Jun 2013 12:13:20 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Updjm-0002OS-W2 for pgsql-sql@postgresql.org; Thu, 20 Jun 2013 05:13:14 -0700 Date: Thu, 20 Jun 2013 05:13:14 -0700 (PDT) From: gmb To: pgsql-sql@postgresql.org Message-ID: <1371730394987-5760106.post@n5.nabble.com> In-Reply-To: <51C2E995.3070407@archonet.com> References: <1371724857304-5760087.post@n5.nabble.com> <51C2DD42.4000002@dalibo.com> <51C2E441.4020200@matrix.gatewaynet.com> <51C2E995.3070407@archonet.com> Subject: Re: UNNEST result order vs Array data MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org >> An array is ordered. If you turn it into a relation then it isn't >> ordered any more until you apply ORDER BY. >> >> An unnest() will almost certainly scan the array in-order, but once you >> embed that in a large query the ordering is no longer guaranteed. Thanks, I assumed as much. Appreciate your help. -- View this message in context: http://postgresql.1045698.n5.nabble.com/UNNEST-result-order-vs-Array-data-tp5760087p5760106.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com. -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql