Re: Re: What can I use as a [non-aggregate] minimum function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: What can I use as a [non-aggregate] minimum function
Дата
Msg-id 467.1008027646@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What can I use as a [non-aggregate] minimum function  ("Paul Wehr" <postgresql@industrialsoftworks.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Weird problem - possibly a bug.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using Cursor in PostgreSQL 7.2