Re: Type identification with libpq / PQFmod() when using aggregates (SUM) - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: Type identification with libpq / PQFmod() when using aggregates (SUM)
Date
Msg-id 12496.1397484060@sss.pgh.pa.us
Whole thread Raw
In response to Type identification with libpq / PQFmod() when using aggregates (SUM)  (Sebastien FLAESCH <sf@4js.com>)
Responses Re: Type identification with libpq / PQFmod() when using aggregates (SUM)
List 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 by date:

Previous
From: Sebastien FLAESCH
Date:
Subject: Type identification with libpq / PQFmod() when using aggregates (SUM)
Next
From: Sebastien FLAESCH
Date:
Subject: Re: Type identification with libpq / PQFmod() when using aggregates (SUM)