pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Kevin Grittner <kgrittn@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)
Date: Fri, 02 Sep 2016 12:32:51 -0400
Message-ID: <18142.1472833971@sss.pgh.pa.us> (raw )
In-Reply-To: <20160902162553.xgcnvnggxhnztaun@alap3.anarazel.de >
References: <20160523005327.v2tr7obytitxcnna@alap3.anarazel.de >
<20160822214023.aaxz5l4igypowyri@alap3.anarazel.de >
<CA+TgmoboLaUy71iLKa2GPcnioWmNxhCFdcDj-F05sZOGgRO0NA@mail.gmail.com >
<CACjxUsM7PUBF3_u-+J7j1WsoRZ9OVNTw2+=P15t2pqnv7utktQ@mail.gmail.com >
<20160902141110.6xciuntt5h4i6eni@alap3.anarazel.de >
<20160902142023.ktgvv4ksnqinqr74@alap3.anarazel.de >
<10163.1472826300@sss.pgh.pa.us >
<CACjxUsNrhn5CMk25qsGnx-G6_AAkddQSa=k3g_DFVhb2D1-aSQ@mail.gmail.com >
<20160902153157.r5nfamzr24yx3gaf@alap3.anarazel.de >
<CACjxUsPhSr83UR42oNZfrYGG2Tk7tY5H3oNFir1Qssd56OdBJw@mail.gmail.com >
<20160902162553.xgcnvnggxhnztaun@alap3.anarazel.de >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andres Freund <andres@anarazel.de> writes:
> ... What we could do is to add efficient
> ROWS FROM (..) WITH ORDINALITY ORDER bY ordinality;
> support.
Hm?
regression=# explain select * from rows from (generate_series(1,10)) with ordinality order by ordinality;
QUERY PLAN
-------------------------------------------------------------------------
Function Scan on generate_series (cost=0.00..10.00 rows=1000 width=12)
(1 row)
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (110+ messages) latest in thread
Message-ID: <18142.1472833971@sss.pgh.pa.us>
Permalink: ../18142.1472833971@sss.pgh.pa.us/
Also on: postgresql.org/message-id/18142.1472833971@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, kgrittn@gmail.com, robertmhaas@gmail.com
Subject: Re: Implement targetlist SRFs using ROWS FROM() (was Changed SRF in targetlist handling)
In-Reply-To: <18142.1472833971@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox