Re: Closing some 8.4 open items - Mailing list pgsql-hackers

From Hitoshi Harada
Subject Re: Closing some 8.4 open items
Date
Msg-id e08cc0400904102348p6d809b1dx970d6cad0ba71af1@mail.gmail.com
Whole thread Raw
In response to Re: Closing some 8.4 open items  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Responses Re: Closing some 8.4 open items  (David Fetter <david@fetter.org>)
List pgsql-hackers
2009/4/11 Andrew Gierth <andrew@tao11.riddles.org.uk>:
>>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
>
>  >>> Perhaps more to the point: the previous round of discussion about
>  >>> this already rejected the idea of treating window functions as a
>  >>> category fundamentally separate from plain functions --- that is,
>  >>> we are not following the "aggregate" model of having separate
>  >>> commands for aggregate functions.
>
>  >> I hadn't seen any such a consensus.
>
>  Tom> We do not have CREATE WINDOW FUNCTION, DROP WINDOW FUNCTION,
>  Tom> ALTER WINDOW FUNCTION, etc.  If psql uses \dw it will be
>  Tom> presenting a different world view than exists at the SQL level.
>
> I'm not sure why that would matter. The fact that it is CREATE
> FUNCTION ... WINDOW rather than CREATE WINDOW FUNCTION doesn't mean
> that window functions aren't a distinctly different animal to normal
> functions. The usage and syntax is different enough that putting them
> all together under \df seems forced.

Yeah, but all the window functions are stored in pg_proc.

Regards,


--
Hitoshi Harada


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Allow COMMENT ON to accept an expression rather than just a string
Next
From: Hitoshi Harada
Date:
Subject: Re: Closing some 8.4 open items