The following review has been posted through the commitfest application: make installcheck-world: tested, failed Implements feature: tested, passed Spec compliant: tested, passed Documentation: not tested
I occur a strange issue when a exec 'make installcheck-world', it is: ########################################################## ... ============== running regression test queries ============== test adminpack ... FAILED 60 ms ====================== 1 of 1 tests failed. ====================== The differences that caused some tests to fail can be viewed in the file "/work/src/postgres_app_for/contrib/adminpack/regression.diffs". A copy of the test summary that you see above is saved in the file "/work/src/postgres_app_for/contrib/adminpack/regression.out". ... ########################################################## And the content in 'contrib/adminpack/regression.out' is: ########################################################## SELECT pg_file_write('/tmp/test_file0', 'test0', false); ERROR: absolute path not allowed SELECT pg_file_write(current_setting('data_directory') || '/test_file4', 'test4', false); - pg_file_write ---------------- - 5 -(1 row) - +ERROR: reference to parent directory ("..") not allowed SELECT pg_file_write(current_setting('data_directory') || '/../test_file4', 'test4', false); ERROR: reference to parent directory ("..") not allowed RESET ROLE; @@ -149,7 +145,7 @@ SELECT pg_file_unlink('test_file4'); pg_file_unlink ---------------- - t + f (1 row) ########################################################## However the issue does not occur when I do a 'make check-world'. And it doesn't occur when I test the 'make installcheck-world' without the patch. The new status of this patch is: Waiting on Author