The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
["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 name from _views ",[],"data"]
["truncate _views;","0E0","data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select name from _roles ",[["Admin"],["Public"]],"data"]
[" delete from _access where role <> 'Admin' and role <> 'Public'; delete from _roles where name <> 'Admin' and name <> 'Public' ","0E0","data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select name from _roles ",[["Admin"],["Public"]],"data"]
[" delete from _access where role <> 'Admin' and role <> 'Public'; delete from _roles where name <> 'Admin' and name <> 'Public' ","0E0","data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select name, description from _roles order by id ",[{"name":"Admin","description":"Administrator"},{"name":"Public","description":"Anonymous"}],"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
["delete from _access where role = 'Public';","0E0","data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select id, method, prefix, segments, array_to_string(applied_to,' ') as applied_to, prohibiting from _access where role = 'Public'; ",[],"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" insert into _access (role, method, prefix, segments, applied_to, prohibiting) values ('Public', 'GET', 'model', '1', '{192.168.100.0/24}', 'false') ",1,"data"]
["select max(id) from \"_access\"",[["89"]],"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select id, method, prefix, segments, array_to_string(applied_to,' ') as applied_to, prohibiting from _access where role = 'Public'; ",[{"prohibiting":"0","id":"89","method":"GET","segments":"1","applied_to":"192.168.100.0/24","prefix":"model"}],"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 = 'A' limit 1 ",[],"data"]
[" create table \"A\" (id serial primary key  , \"title\" text ); grant select on table \"A\" to anonymous; comment on table \"A\" is 'A'; comment on column \"A\".id is 'ID';comment on column \"A\".\"title\" is 'name';","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 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 = 'B' limit 1 ",[],"data"]
[" create table \"B\" (id serial primary key  , \"title\" text  , \"body\" text ); grant select on table \"B\" to anonymous; comment on table \"B\" is 'B'; comment on column \"B\".id is 'ID';comment on column \"B\".\"title\" is 'title';comment on column \"B\".\"body\" is 'body';","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 prohibiting from _access where role = 'Public' and method = 'GET' and segments = '1' and 'model' like (prefix || '%')  order by prohibiting desc limit 1",[["0"]],"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":"A","description":"A"},{"name":"B","description":"B"}],"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select prohibiting from _access where role = 'Public' and method = 'GET' and segments = '1' and 'model' like (prefix || '%')  and cidr('192.168.100.1') <<= any(applied_to)  order by prohibiting desc limit 1",[["0"]],"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":"A","description":"A"},{"name":"B","description":"B"}],"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select prohibiting from _access where role = 'Public' and method = 'GET' and segments = '1' and 'model' like (prefix || '%')  and cidr('192.168.100.100') <<= any(applied_to)  order by prohibiting desc limit 1",[["0"]],"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":"A","description":"A"},{"name":"B","description":"B"}],"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select prohibiting from _access where role = 'Public' and method = 'GET' and segments = '1' and 'model' like (prefix || '%')  and cidr('192.168.200.100') <<= any(applied_to)  order by prohibiting desc limit 1",[],"data"]
["select nspname from pg_namespace where nspname = 'tester' limit 1;\n",1,"data"]
[" select prohibiting from _access where role = 'Public' and method = 'DELETE' and segments = '1' and 'model' like (prefix || '%')  and cidr('192.168.100.2') <<= any(applied_to)  order by prohibiting desc limit 1",[],"data"]