-- initialize proxy db
\c test_enc_proxy
set client_encoding = 'utf-8';
+drop language if exists plpgsql;
create language plpgsql;
\i plproxy.sql
-- handler function
$$ language plproxy;
-- initialize part db
\c test_enc_part
+drop language if exists plpgsql;
create language plpgsql;
set client_encoding = 'utf8';
create table intl_data (id int4, "コラム" text);
create database test_enc_part with encoding 'euc_jp';
-- initialize proxy db
\c test_enc_proxy
+drop language if exists plpgsql;
create language plpgsql;
\i plproxy.sql
-- handler function
$$ language plproxy;
-- initialize part db
\c test_enc_part
+drop language if exists plpgsql;
create language plpgsql;
set client_encoding = 'utf8';
create table intl_data (id int4, "コラム" text);
-- initialize proxy db
\c test_enc_proxy
set client_encoding = 'utf-8';
+drop language if exists plpgsql;
create language plpgsql;
\i plproxy.sql
create schema plproxy;
$$ language plproxy;
-- initialize part db
\c test_enc_part
+drop language if exists plpgsql;
create language plpgsql;
set client_encoding = 'utf8';
create table intl_data (id int4, "コラム" text);
-- initialize proxy db
\c test_enc_proxy
+drop language if exists plpgsql;
create language plpgsql;
\i plproxy.sql
set client_encoding = 'utf8';
-- initialize part db
\c test_enc_part
+drop language if exists plpgsql;
create language plpgsql;
set client_encoding = 'utf8';
create table intl_data (id int4, "コラム" text);
drop database if exists test_enc_part;
\c test_part
+drop language if exists plpgsql;
create language plpgsql;
\c test_part0
+drop language if exists plpgsql;
create language plpgsql;
\c test_part1
+drop language if exists plpgsql;
create language plpgsql;
\c test_part2
+drop language if exists plpgsql;
create language plpgsql;
\c test_part3
+drop language if exists plpgsql;
create language plpgsql;