Re: array UNNESTed to rows stable with respect to order? - Mailing list pgsql-general

From Thiemo Kellner
Subject Re: array UNNESTed to rows stable with respect to order?
Date
Msg-id 20180418080851.13092s2p6i83irwg@www.gelassene-pferde.biz
Whole thread Raw
In response to Re: array UNNESTed to rows stable with respect to order?  (Paul Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-general
Zitat von Paul Jungwirth <pj@illuminatedcomputing.com>:

> I think you are looking for `WITH ORDINALITY` (in pg 9.4+). For
> instance you could rewrite your first CTE like so:

Thanks for the hint.

Kind regards

--
Öffentlicher PGP-Schlüssel:
http://pgp.mit.edu/pks/lookup?op=get&search=0x8F70EFD2D972CBEF

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


pgsql-general by date:

Previous
From: "Thiemo Kellner, NHC Barhufpflege"
Date:
Subject: Re: array UNNESTed to rows stable with respect to order?
Next
From: "Thiemo Kellner, NHC Barhufpflege"
Date:
Subject: Re: rehashing catalog cache id 14 for pg_opclass; 17 tups, 8buckets