Re: ERROR: "failed to locate grouping columns"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ERROR: "failed to locate grouping columns"
Date: 2009-03-08 20:34:12
Message-ID: 2260.1236544452@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Dickson S. Guedes" <listas(at)guedesoft(dot)net> writes:
> Em Sb, 2009-03-07 s 19:38 -0500, Tom Lane escreveu:
>> Would you put together a complete example, instead of leaving us to
>> guess what's underlying the view? And what PG version is this?

> Attached there is a dump with the tables and views related:
> vw_that_works - an example view that works without grouping some columns
> vw_that_not_works -> an example view that throws an error

OK, reproduced here on HEAD:

dg=# select * from vw_that_not_works;
ERROR: failed to locate grouping columns

Off to do some debugging. Thanks for the test case!

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Lor 2009-03-08 20:58:21 Re: Additional DTrace Probes
Previous Message Dickson S. Guedes 2009-03-08 20:29:21 Re: ERROR: "failed to locate grouping columns"