On 04/14/2014 04:01 PM, Tom Lane wrote:
> Sebastien FLAESCH <sf(at)4js(dot)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.
Thank you Tom, but then, IMHO, it should be considered as a request...
Some client applications (which do a bit more than just displaying the result
string of query columns) need that information, for ex to do data conversions,
automatic formatting, etc.
Seb