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

Tom Lane <[email protected]> Mon, 14 Apr 2014 10:01:00 -0400
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
Sebastien FLAESCH <[email protected]> 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


-- 
Sent via pgsql-interfaces mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces