Re: Re: What can I use as a [non-aggregate] minimum function - Mailing list pgsql-general

From Tom Lane
Subject Re: Re: What can I use as a [non-aggregate] minimum function
Date
Msg-id 467.1008027646@sss.pgh.pa.us
Whole thread Raw
In response to Re: What can I use as a [non-aggregate] minimum function  ("Paul Wehr" <postgresql@industrialsoftworks.com>)
List pgsql-general
"=?iso-8859-1?Q?Paul_Wehr?=" <postgresql@industrialsoftworks.com> writes:
> Since you didn't volunteer "just use not_aggregate_max()", I'm assuming
> there's no built-in thing, so the follow-up question(s) would be:
>   1) can a function be defined with a variable number of arguments

No, although sometimes you can fake it by defining a family of functions
with the same name and different numbers of arguments.

>   2) can a function be created that calls itself (i.e. recursive)

Sure, although I don't see how that helps in this case.

>   3) can you do it for me? :)

Nope, got too many things to do already...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Weird problem - possibly a bug.
Next
From: Tom Lane
Date:
Subject: Re: Using Cursor in PostgreSQL 7.2