Re: Functional dependencies and GROUP BY - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Functional dependencies and GROUP BY
Date
Msg-id 1276257739.8488.19.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: Functional dependencies and GROUP BY  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On tis, 2010-06-08 at 10:21 -0400, Tom Lane wrote:
> The question is why bother to recognize *any* cases of this form.
> I find it really semantically ugly to have the parser effectively
> doing one deduction of this form when the main engine for that type
> of deduction is elsewhere; so unless there is a really good argument
> why we have to do this case (and NOT "it was pretty easy"), I don't
> want to do it.

Yeah, I'm not horribly attached to it.  I began to structure the code to
support multiple kinds of checks, and at the end only two kinds were
reasonably doable and useful.  We can remove it if no one is interested
in it, which appears to be the case.



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: server authentication over Unix-domain sockets
Next
From: Peter Eisentraut
Date:
Subject: Re: Functional dependencies and GROUP BY