pgsql: Refactor check_functional_grouping() to use get_primary_key_attn

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Refactor check_functional_grouping() to use get_primary_key_attn
Дата
Msg-id E1aU05r-000650-4R@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Refactor check_functional_grouping() to use get_primary_key_attnos().

If we ever get around to allowing functional dependency to be proven
from other things besides simple primary keys, this code will need to
be rethought, but that was true anyway.  In the meantime, we might as
well not have two very-similar routines for scanning pg_constraint.

David Rowley, reviewed by Julien Rouhaud

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f144f73242acef574bc27a4c70e809a64806e4a4

Modified Files
--------------
src/backend/catalog/pg_constraint.c | 110 +++++++++---------------------------
1 file changed, 26 insertions(+), 84 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove GROUP BY columns that are functionally dependent on other
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Further tweaking of deadlock isolation tests.