pgsql: GROUP BY can only infer functional dependency from non-deferrable

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: GROUP BY can only infer functional dependency from non-deferrable
Date: 2010-09-05 15:45:42
Message-ID: 20100905154542.C44D57541E2@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
GROUP BY can only infer functional dependency from non-deferrable primary keys.

Peter's original patch had this right, but I dropped the check while revising
the code to search pg_constraint instead of pg_index. Spotted by Dean Rasheed.

Modified Files:
--------------
pgsql/src/backend/catalog:
pg_constraint.c (r1.55 -> r1.56)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/pg_constraint.c?r1=1.55&r2=1.56)

Browse pgsql-committers by date

  From Date Subject
Next Message User Itagaki 2010-09-06 08:32:49 textsearch-ja - textsearch_groonga: Imported Sources
Previous Message Tom Lane 2010-09-04 17:46:03 pgsql: Pad the ps_status display with nulls, not blanks, on Darwin.