Skip site navigation (1) Skip section navigation (2)

Re: TODO items for window functions

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, David Fetter <david(at)fetter(dot)org>, Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: TODO items for window functions
Date: 2008-12-31 11:21:19
Message-ID: 495B55AF.6040808@enterprisedb.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Tom Lane wrote:
> I am not thrilled about inventing a new column for this, but how about
> a display like so:
> 
> regression=# \df nth_value
>                         List of functions
>    Schema   |   Name    | Result data type |       Argument data types 
> ------------+-----------+------------------+---------------------------------
>  pg_catalog | nth_value | anyelement       | anyelement, integer OVER window
> 
> or some other addition that only shows up when needed.

That looks like "OVER window" is associated with the "integer", like 
DEFAULT. I don't have any better suggestions, though.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

In response to

Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2008-12-31 11:51:44
Subject: Re: version() output vs. 32/64 bits
Previous:From: Magnus HaganderDate: 2008-12-31 10:50:57
Subject: Re: parallel restore

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group