On Tue, Apr 07, 2009 at 07:28:25PM -0700, David Fetter wrote:
> On Mon, Apr 06, 2009 at 10:51:22PM -0700, David Fetter wrote:
> > On Sun, Apr 05, 2009 at 05:57:46PM -0700, David Fetter wrote:
> > > On Sun, Apr 05, 2009 at 08:55:07PM -0400, Tom Lane wrote:
> > > > David Fetter <david@fetter.org> writes:
> > > > > On Sun, Apr 05, 2009 at 02:07:32PM -0400, Tom Lane wrote:
> > > > >> The \df thing? That's something it'd be okay to revisit during
> > > > >> beta, IMHO.
> > > >
> > > > > OK, I'll work on this tomorrow :)
> > > >
> > > > I think what we were lacking was consensus on what it should do, not
> > > > code ...
> > >
> > > I was thinking I'd knock out a proposal or two.
> >
> > Please find enclosed one way to handle it, this being prepending
> > WINDOW to the result types in \df.
> >
> > Another way, patch coming tomorrow, would be to add a \dw and remove
> > the functions where pg_proc.iswindowing is true from \df.
>
> Here's another way, adding \dw.
Revised patch attached. \dw does not need an 'S' decorator, and would
be confusing with one now as there are only a few windowing functions,
and all of those system.
Also included are SGML docs. Mea culpa.
There is one translatable string added. Sorry about that.
Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate