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

	SELECT diag_test_name( 'sys.insert_missing_updates() - No EXECUTE privilege' );
	SELECT throws_ok( $$ SELECT sys.insert_missing_updates( 1 ) $$ , 42501 );
	
	SELECT * FROM finish( );
ROLLBACK;