Re: Using aggregate functions .. (a BUG?) - Mailing list pgsql-general

From Tom Lane
Subject Re: Using aggregate functions .. (a BUG?)
Date
Msg-id 12367.1035579844@sss.pgh.pa.us
Whole thread Raw
In response to Re: Using aggregate functions .. (a BUG?)  (Frank Miles <fpm@u.washington.edu>)
List pgsql-general
Frank Miles <fpm@u.washington.edu> writes:
>                 SELECT INTO rec sum(qty),id AS asum,id FROM dummyTable WHERE id= xid GROUP BY id;
                                           ^^^^^^^^^^
>                 RETURN rec.asum;

This is returning id.

            regards, tom lane

pgsql-general by date:

Previous
From: Frank Miles
Date:
Subject: Re: Using aggregate functions .. (a BUG?)
Next
From: "Johnson, Shaunn"
Date:
Subject: Re: lpad question