>> 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