/* * Test privileges on verse.get_random_part() */ BEGIN; SELECT plan( 1 ); SELECT diag_test_name( 'verse.get_random_part( ) - Privileges' ); PREPARE _test_this AS SELECT verse.get_random_part( 0.5 , 1 , 0.5 , 0.25 ); SELECT throws_ok( '_test_this' , 42501 ); SELECT * FROM finish( ); ROLLBACK;