["set search_path to _global,public","0E0","data"] ["select count(*) from pg_tables where tablename = '_general' and schemaname = '_global'",[["1"]],"data"] ["select version from _global._general limit 1",[["0.009"]],"data"] ["set lc_messages to \"C\";","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["set search_path to tester,public","0E0","data"] [" select id from _roles where name = 'Admin' and password = '5f4dcc3b5aa765d61d8327deb882cf99' limit 1; ",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["0"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Human' limit 1 ",[],"data"] [" create table \"Human\" (id serial primary key , \"gender\" text default ( 'male' ) not null); grant select on table \"Human\" to anonymous; comment on table \"Human\" is '人类'; comment on column \"Human\".id is 'ID';comment on column \"Human\".\"gender\" is '性别';","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["1"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["1"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Foo' limit 1 ",[],"data"] [" create table \"Foo\" (id serial primary key , \"gender\" text ); grant select on table \"Foo\" to anonymous; comment on table \"Foo\" is '人类'; comment on column \"Foo\".id is 'ID';comment on column \"Foo\".\"gender\" is '性别';","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["2"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["2"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["2"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Blah' limit 1 ",[],"data"] [" create table \"Blah\" (id serial primary key ); grant select on table \"Blah\" to anonymous; comment on table \"Blah\" is 'Blah'; comment on column \"Blah\".id is 'ID';","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Blah' limit 1 ",[["965229"]],"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Blah' order by c.oid",[{"name":"Blah","description":"Blah"}],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Blah' limit 1 ",[["965229"]],"data"] [" select a.attname as name, pg_catalog.format_type(a.atttypid, a.atttypmod) as type, col_description(a.attrelid, a.attnum) as \"label\", (select pg_catalog.pg_get_expr(d.adbin, d.adrelid) from pg_catalog.pg_attrdef d where d.adrelid = a.attrelid and d.adnum = a.attnum and a.atthasdef) as \"default\", (select con.conname from pg_catalog.pg_constraint con where con.conrelid=a.attrelid and con.contype='u' and array_upper(con.conkey,1)=1 and con.conkey[1]=a.attnum) as \"unique\", a.attnotnull as not_null from pg_catalog.pg_attribute a where a.attnum > 0 and not a.attisdropped and a.attname <> 'id' and a.attrelid = (select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relname ='Blah' and n.nspname = 'tester') order by a.attnum ",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["3"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Baz' limit 1 ",[],"data"] [" create table \"Baz\" (id serial primary key ); grant select on table \"Baz\" to anonymous; comment on table \"Baz\" is 'BAZ'; comment on column \"Baz\".id is 'ID';","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Baz' limit 1 ",[["965237"]],"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Baz' order by c.oid",[{"name":"Baz","description":"BAZ"}],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Baz' limit 1 ",[["965237"]],"data"] [" select a.attname as name, pg_catalog.format_type(a.atttypid, a.atttypmod) as type, col_description(a.attrelid, a.attnum) as \"label\", (select pg_catalog.pg_get_expr(d.adbin, d.adrelid) from pg_catalog.pg_attrdef d where d.adrelid = a.attrelid and d.adnum = a.attnum and a.atthasdef) as \"default\", (select con.conname from pg_catalog.pg_constraint con where con.conrelid=a.attrelid and con.contype='u' and array_upper(con.conkey,1)=1 and con.conkey[1]=a.attnum) as \"unique\", a.attnotnull as not_null from pg_catalog.pg_attribute a where a.attnum > 0 and not a.attisdropped and a.attname <> 'id' and a.attrelid = (select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relname ='Baz' and n.nspname = 'tester') order by a.attnum ",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' order by c.oid",[{"name":"Human","description":"人类"},{"name":"Foo","description":"人类"},{"name":"Blah","description":"Blah"},{"name":"Baz","description":"BAZ"}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'NotExist' limit 1 ",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["4"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["4"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["4"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["4"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Tiger' limit 1 ",[],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["4"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Tiger' limit 1 ",[],"data"] [" create table \"Tiger\" (id serial primary key , \"ddddddddddddddddddddddddddddddd\" text ); grant select on table \"Tiger\" to anonymous; comment on table \"Tiger\" is 'Tiger'; comment on column \"Tiger\".id is 'ID';comment on column \"Tiger\".\"ddddddddddddddddddddddddddddddd\" is 'hiya';","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["5"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ12345' limit 1 ",[],"data"] [" create table \"ABCDEFGHIJKLMNOPQRSTUVWXYZ12345\" (id serial primary key ); grant select on table \"ABCDEFGHIJKLMNOPQRSTUVWXYZ12345\" to anonymous; comment on table \"ABCDEFGHIJKLMNOPQRSTUVWXYZ12345\" is 'Bad model'; comment on column \"ABCDEFGHIJKLMNOPQRSTUVWXYZ12345\".id is 'ID';","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["6"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["6"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["6"]],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Tiger' limit 1 ",[["965245"]],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Tiger' limit 1 ",[["965245"]],"data"] [" comment on table \"Tiger\" is 'Hello!' ","0E0","data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Tiger' limit 1 ",[["965245"]],"data"] [" select c.relname as name, obj_description(c.oid, 'pg_class') as description from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Tiger' order by c.oid",[{"name":"Tiger","description":"Hello!"}],"data"] [" select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' and c.relname = 'Tiger' limit 1 ",[["965245"]],"data"] [" select a.attname as name, pg_catalog.format_type(a.atttypid, a.atttypmod) as type, col_description(a.attrelid, a.attnum) as \"label\", (select pg_catalog.pg_get_expr(d.adbin, d.adrelid) from pg_catalog.pg_attrdef d where d.adrelid = a.attrelid and d.adnum = a.attnum and a.atthasdef) as \"default\", (select con.conname from pg_catalog.pg_constraint con where con.conrelid=a.attrelid and con.contype='u' and array_upper(con.conkey,1)=1 and con.conkey[1]=a.attnum) as \"unique\", a.attnotnull as not_null from pg_catalog.pg_attribute a where a.attnum > 0 and not a.attisdropped and a.attname <> 'id' and a.attrelid = (select c.oid from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relname ='Tiger' and n.nspname = 'tester') order by a.attnum ",[{"unique":null,"not_null":"0","name":"ddddddddddddddddddddddddddddddd","type":"text","label":"hiya","default":null}],"data"] ["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"] [" select count(*) from pg_catalog.pg_class c left join pg_catalog.pg_namespace n on n.oid = c.relnamespace where c.relkind in ('r','') and n.nspname = 'tester' and pg_catalog.pg_table_is_visible(c.oid) and substr(c.relname,1,1) <> '_' ",[["6"]],"data"]