Re: [HACKERS] Re: bug on aggregate function AVG()

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [HACKERS] Re: bug on aggregate function AVG()
Дата
Msg-id 366CC9DB.5143D705@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: bug on aggregate function AVG()  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
> MIN() and MAX() doesn't accept a string as parameter.

I've added capabilities to do min() and max() on strings. To help with
this I've put the new implicit type coersion techniques into the
aggregate function handling. So, for example, the same routine which
handles min(text) will also handle min(char()) and min(varchar()).

These changes are already in the main cvs tree, but are not in the
v6.4.x branch since they require a small number of catalog changes to
implement.

Will post the patches on the patches list in case anyone needs them
before v6.5 comes out...
                      - Tom


В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Proposed autoconf change: rip out search for 'install'
Следующее
От: Constantin Teodorescu
Дата:
Сообщение: Re: libpgtcl.dll for Windows