text: -- start_ignore
  SET gp_create_table_random_default_distribution=off;
  -- end_ignore
  DROP TABLE IF EXISTS ao;
  
  CREATE TABLE ao (a INT, b INT) WITH (appendonly=true, orientation=column) ;
  INSERT INTO ao SELECT i as a, i as b FROM generate_series(1,10) AS i;
  
  DROP VIEW IF EXISTS locktest;
  create view locktest as select coalesce(
  	case when relname like 'pg_toast%index' then 'toast index'
  	when relname like 'pg_toast%' then 'toast table'
  	else relname end, 'dropped table'),
  	mode,
  	locktype from
  	pg_locks l left outer join pg_class c on (l.relation = c.oid),
  	pg_database d where relation is not null and l.database = d.oid and
  	l.gp_segment_id = -1 and
  	relname != 'gp_fault_strategy' and
  	d.datname = current_database() order by 1, 3, 2;
  