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 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 = 'Post' limit 1 ",[],"data"]
[" create table \"Post\" (id serial primary key  , \"name\" text  unique , \"age\" integer ); grant select on table \"Post\" to anonymous; comment on table \"Post\" is 'Post'; comment on column \"Post\".id is 'ID';comment on column \"Post\".\"name\" is 'Name';comment on column \"Post\".\"age\" is 'Age';","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 = 'Post' limit 1 ",[["943527"]],"data"]
[" select count(*) from \"Post\" ",[["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 = 'Post' limit 1 ",[["943527"]],"data"]
[" select a.attname as name 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 ='Post' and n.nspname = 'tester') order by a.attnum ",[["name"],["age"]],"data"]
["insert into \"Post\" (\"name\", \"age\") values ('agentzh', '23');\ninsert into \"Post\" (\"name\", \"age\") values ('agentzh', '34');\n","DBD::Pg::db do failed: ERROR:  duplicate key value violates unique constraint \"Post_name_key\" at lib/OpenResty/Backend/Pg.pm line 88.\n","die"]
["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 = 'Post' limit 1 ",[["943527"]],"data"]
[" select count(*) from \"Post\" ",[["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 = 'Post' limit 1 ",[["943527"]],"data"]
[" select a.attname as name 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 ='Post' and n.nspname = 'tester') order by a.attnum ",[["name"],["age"]],"data"]
["insert into \"Post\" (\"name\", \"age\") values ('agentzh', '23');\ninsert into \"Post\" (\"name\", \"age\") values ('yuting', '23');\n",1,"data"]
["select max(id) from \"Post\"",[["4"]],"data"]