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

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