RE: BUG #16031: Group by returns duplicate groups - Mailing list pgsql-bugs

From David Raymond
Subject RE: BUG #16031: Group by returns duplicate groups
Date
Msg-id VI1PR07MB602902D7CE166594FC1EF5AE87820@VI1PR07MB6029.eurprd07.prod.outlook.com
Whole thread Raw
In response to Re: BUG #16031: Group by returns duplicate groups  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses RE: BUG #16031: Group by returns duplicate groups
List pgsql-bugs
All the lc_* settings are en-US, and server_encoding is UTF8.


-----Original Message-----
From: Tom Lane <tgl@sss.pgh.pa.us> 
Sent: Monday, September 30, 2019 2:17 PM
To: David Raymond <David.Raymond@tomtom.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16031: Group by returns duplicate groups

PG Bug reporting form <noreply@postgresql.org> writes:
> I have a large table which I'm running a query on, grouping on a single
> field, and returning only that 1 field, filtered with a HAVING clause. The
> results that I'm getting back however contain a duplicate entry for one of
> the returned values, which I believe should never be able to happen.

That seems quite weird.  What LC_COLLATE/LC_CTYPE settings are you using?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #16031: Group by returns duplicate groups
Next
From: David Raymond
Date:
Subject: RE: BUG #16031: Group by returns duplicate groups