From: | "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: ERROR: "failed to locate grouping columns" |
Date: | 2009-03-08 01:04:41 |
Message-ID: | 1236474281.20435.26.camel@guedes-laptop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Em Sáb, 2009-03-07 às 19:38 -0500, Tom Lane escreveu:
> "Dickson S. Guedes" <listas(at)guedesoft(dot)net> writes:
> > And bellow is the select that returns: "ERROR: failed to locate grouping columns"
> > when no rows is returned by the View above, but it runs well when one or more
> > rows is returned by same view.
>
> I really have a hard time believing that whether you get that error is
> contingent on whether the view returns some rows or not. That's a
> planner message and couldn't possibly have to do with what happens
> at runtime.
And I was really confused when I've tested. I've seen that it's a
planner message, then I discard SUBSELECTs and use JOINs and it works.
> Would you put together a complete example, instead of leaving us to
> guess what's underlying the view?
Ok, I'll prepare a full test and send it.
> And what PG version is this?
Oh! I forgot to say, the version is 8.3.6.
Thanks.
--
Dickson S. Guedes
-
mail/xmpp: guedes(at)guedesoft(dot)net - skype: guediz
http://guedesoft.net - http://planeta.postgresql.org.br
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2009-03-08 01:42:07 | Re: Out parameters handling |
Previous Message | Tom Lane | 2009-03-08 00:38:13 | Re: ERROR: "failed to locate grouping columns" |