/*
 * Test privileges on sys.gu_pmc_update_resource( )
 */
BEGIN;
	SELECT plan( 1 );

	SELECT diag_test_name( 'sys.gu_pmc_update_resource - Privileges' );
	SELECT throws_ok( $$
		SELECT * FROM sys.gu_pmc_update_resource( ROW( NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL , NULL ) );
	$$ , 42501 );
	
	SELECT * FROM finish( );
ROLLBACK;