/*
 * Test privileges on defs.uoc_resource_internal()
 */
BEGIN;

	SELECT plan( 1 );
	
	SELECT diag_test_name( 'defs.uoc_resource_internal() - Privileges' );
	PREPARE _test_this AS
		SELECT defs.uoc_resource_internal( 'test1' , 'test2' , NULL , 1 );
	SELECT throws_ok( '_test_this' , 42501 );
	
	SELECT * FROM finish( );
ROLLBACK;