Re: MAX(ROW(...)) - feature request

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: MAX(ROW(...)) - feature request
Date: 2009-03-25 18:03:56
Message-ID: 20090325180355.GE12225@frubble.xen.chris-lamb.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Mar 25, 2009 at 12:50:01PM -0400, Merlin Moncure wrote:
> 2009/3/25 Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>:
> > least()
> > greatest().
>
> Actually, these answer a different question, OP is interested in using
> aggregate on composite type...

I think Grzegorz was pointing out (rather too tersely in my opinion)
that it would be nice if these were supported as well. E.g.

CREATE TABLE foo ( i INT );
SELECT least('(1)'::foo,NULL);

results in an error. When this should be valid.

--
Sam http://samason.me.uk/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Leonardo M. Ramé 2009-03-25 18:52:55 Weird encoding behavior
Previous Message Magnus Hagander 2009-03-25 18:00:56 Re: 8.3.7 Windows Update Error