]> granicus.if.org Git - postgresql/commit
Fix installcheck for test_rls_hooks
authorStephen Frost <sfrost@snowman.net>
Wed, 22 Apr 2015 16:43:57 +0000 (12:43 -0400)
committerStephen Frost <sfrost@snowman.net>
Wed, 22 Apr 2015 16:43:57 +0000 (12:43 -0400)
commit450fa1b5ba0e986a20d8c017500c0c0bbf1e0b4b
tree7b15a3b8c23bbbff8a77520f92e2606dc327bc84
parent0bf22e0c8b1114ae37939c500535307abefd38e1
Fix installcheck for test_rls_hooks

As pointed out by the buildfarm, test_rls_hooks wasn't functioning
properly with a clean installcheck.  test_rls_hooks needs to explicitly
load the library with the hooks in it, to allow installcheck to work;
using the --temp-config doesn't help since that isn't used when running
installcheck and it isn't exactly fair to the buildfarm to modify the
installed config prior to calling installcheck.

Also, have test_rls_hooks clean up after itself.
src/test/modules/test_rls_hooks/expected/test_rls_hooks.out
src/test/modules/test_rls_hooks/sql/test_rls_hooks.sql