pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: andersonabreu@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #7486: Error Group by
Date: Fri, 10 Aug 2012 17:33:23 +0000
Message-ID: <E1Szt5P-0006o2-Bs@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      7486
Logged by:          Anderson Abreu
Email address:      andersonabreu@gmail.com
PostgreSQL version: 8.4.12
Operating system:   Linux
Description:        

Dear,

I'm test the script, for example: select attA, attB from table1 group by
attA.

In postgre 8.4.X show error column attB must appear in the GROUP BY clause
or be used in an aggregate function.

But, in postgre 9.1.X the query running sucesfully.

Why?

Thank's





view thread (2+ messages)  latest in thread

Message-ID: <E1Szt5P-0006o2-Bs@wrigleys.postgresql.org>
Permalink:  ../E1Szt5P-0006o2-Bs@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1Szt5P-0006o2-Bs@wrigleys.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andersonabreu@gmail.com
  Subject: Re: BUG #7486: Error Group by
  In-Reply-To: <E1Szt5P-0006o2-Bs@wrigleys.postgresql.org>
  References: <E1Szt5P-0006o2-Bs@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox