aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_rls_hooks/test_rls_hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/modules/test_rls_hooks/test_rls_hooks.c')
-rw-r--r--src/test/modules/test_rls_hooks/test_rls_hooks.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/modules/test_rls_hooks/test_rls_hooks.c b/src/test/modules/test_rls_hooks/test_rls_hooks.c
index d76b17ae46a..b96dbff9548 100644
--- a/src/test/modules/test_rls_hooks/test_rls_hooks.c
+++ b/src/test/modules/test_rls_hooks/test_rls_hooks.c
@@ -119,6 +119,11 @@ test_rls_hooks_permissive(CmdType cmdtype, Relation relation)
/*
* Return restrictive policies to be added
+ *
+ * Note that a permissive policy must exist or the default-deny policy
+ * will be included and nothing will be visible. If no filtering should
+ * be done except for the restrictive policy, then a single "USING (true)"
+ * permissive policy can be used; see the regression tests.
*/
List *
test_rls_hooks_restrictive(CmdType cmdtype, Relation relation)