Remove portability hazard in unsafe_tests/sql/guc_privs.sql.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 May 2022 17:42:02 +0000 (13:42 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 May 2022 17:42:02 +0000 (13:42 -0400)
commit5e5fa323350060360799004f96840bbf3cb51e49
treeabf6a6fb3339742b3173c7b7a039d1eee691ed24
parent6029861916e8e2c0155c332c10f182a22619c663
Remove portability hazard in unsafe_tests/sql/guc_privs.sql.

This new-in-v15 test case assumed it could set max_stack_depth as high
as 2MB.  You might think that'd be true on any modern platform but
you'd be wrong, as I found out while experimenting with NetBSD/hppa.

This test is about privileges not platform capabilities, so there seems
no need to use any value greater than the 100kB setting already used
in a couple of places in the core regression tests.  There's certainly
no call to expect people to raise their platform's default ulimit just
to run this test.
src/test/modules/unsafe_tests/expected/guc_privs.out
src/test/modules/unsafe_tests/sql/guc_privs.sql