pgsql: Add assign_expr_collations() to CreatePolicy() and AlterPolicy()

Поиск
Список
Период
Сортировка
От Joe Conway
Тема pgsql: Add assign_expr_collations() to CreatePolicy() and AlterPolicy()
Дата
Msg-id E1ZE2CP-0005iU-2K@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Add assign_expr_collations() to CreatePolicy() and AlterPolicy()  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-committers
Add assign_expr_collations() to CreatePolicy() and AlterPolicy().

As noted by Noah Misch, CreatePolicy() and AlterPolicy() omit to call
assign_expr_collations() on the node trees. Fix the omission and add
his test case to the rowsecurity regression test.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7236f5b068ca78bb3e771f62ee1365ba945d4869

Modified Files
--------------
src/backend/commands/policy.c             |   10 ++++++++++
src/test/regress/expected/rowsecurity.out |   21 +++++++++++++++++++++
src/test/regress/sql/rowsecurity.sql      |   12 ++++++++++++
3 files changed, 43 insertions(+)


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: pgsql: Add assign_expr_collations() to CreatePolicy() and AlterPolicy()
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: fix typo in CREATE POLICY manual page