11th October 2018: PostgreSQL 11 RC 1 Released!

Feature Description

WITH ORDINALITY clause

Provides an order number for each row returned from a set-returning function when used in a FROM clause.