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

Re: TODO items for window functions

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 12:02:12
Message-ID: 20081231120211.GB3809@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Heikki Linnakangas escribió:
> 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.

                         List of functions
    Schema   |   Name    | Result data type |        Argument data types
 ------------+-----------+------------------+-----------------------------------
  pg_catalog | nth_value | anyelement       | (anyelement, integer) OVER window


-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-hackers by date

Next:From: Stephen R. van den BergDate: 2008-12-31 12:33:56
Subject: Lockfree hashtables
Previous:From: Peter EisentrautDate: 2008-12-31 12:00:55
Subject: Re: pg_pltemplate entries for external PLs

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