Re: Type identification with libpq / PQFmod() when using aggregates (SUM)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Type identification with libpq / PQFmod() when using aggregates (SUM)
Дата
Msg-id 12496.1397484060@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Type identification with libpq / PQFmod() when using aggregates (SUM)  (Sebastien FLAESCH <sf@4js.com>)
Ответы Re: Type identification with libpq / PQFmod() when using aggregates (SUM)  (Sebastien FLAESCH <sf@4js.com>)
Список pgsql-interfaces
Sebastien FLAESCH <sf@4js.com> writes:
> But when using an aggregate function like SUM(), PQfmode() function returns
> "no information available" (-1) ...

> Is the type of the result of an aggregate function (or even more complex
> expressions) not known by the server?

That's correct.
        regards, tom lane



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

Предыдущее
От: Sebastien FLAESCH
Дата:
Сообщение: Type identification with libpq / PQFmod() when using aggregates (SUM)
Следующее
От: Sebastien FLAESCH
Дата:
Сообщение: Re: Type identification with libpq / PQFmod() when using aggregates (SUM)