agora inbox for pgsql-interfaces@postgresql.org
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: Sebastien FLAESCH <sf@4js.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Type identification with libpq / PQFmod() when using aggregates (SUM)
Date: Mon, 14 Apr 2014 10:01:00 -0400
Message-ID: <12496.1397484060@sss.pgh.pa.us> (raw)
In-Reply-To: <534BB32F.4020503@4js.com>
References: <534BB32F.4020503@4js.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-interfaces mailing list (pgsql-interfaces@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces
view thread (3+ messages) latest in thread
Message-ID: <12496.1397484060@sss.pgh.pa.us>
Permalink: ../12496.1397484060@sss.pgh.pa.us/
Also on: postgresql.org/message-id/12496.1397484060@sss.pgh.pa.us
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, sf@4js.com
Subject: Re: Type identification with libpq / PQFmod() when using aggregates (SUM)
In-Reply-To: <12496.1397484060@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox