Обсуждение: pgsql: GROUP BY can only infer functional dependency from non-deferrable

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)