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

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