pgsql: Add checks to DefineQueryRewrite() to prohibit attaching rules to

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Add checks to DefineQueryRewrite() to prohibit attaching rules to
Дата
Msg-id 20090513223255.37204754065@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Add checks to DefineQueryRewrite() to prohibit attaching rules to relations
that aren't RELKIND_RELATION or RELKIND_VIEW, and to disallow attaching rules
to system relations unless allowSystemTableMods is on.  This is to make the
behavior of CREATE RULE more like CREATE TRIGGER, which disallows the
comparable cases.  Per discussion of bug #4808.

Modified Files:
--------------
    pgsql/src/backend/rewrite:
        rewriteDefine.c (r1.136 -> r1.137)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteDefine.c?r1=1.136&r2=1.137)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Remove a useless backslash from a pattern-match example.
Следующее
От: itagaki@pgfoundry.org (User Itagaki)
Дата:
Сообщение: textsearch-ja - textsearch_senna: Support LIKE-compatible search with