]> granicus.if.org Git - postgresql/commit
Add assign_expr_collations() to CreatePolicy() and AlterPolicy().
authorJoe Conway <mail@joeconway.com>
Sat, 11 Jul 2015 21:20:01 +0000 (14:20 -0700)
committerJoe Conway <mail@joeconway.com>
Sat, 11 Jul 2015 21:20:01 +0000 (14:20 -0700)
commit7236f5b068ca78bb3e771f62ee1365ba945d4869
treedf2b6a5914390c95225fab935afad543e78ecdfa
parentebe8bcd94e7191025e0309718284983891a89064
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.
src/backend/commands/policy.c
src/test/regress/expected/rowsecurity.out
src/test/regress/sql/rowsecurity.sql