Permalink
Browse files

make drop lang quiet on 8.2, remove unnceseccary dynquery test

  • Loading branch information...
1 parent 9196c9d commit 1ae64ed303d4eab34addfaff871c5495cc3648e4 @markokr committed Sep 15, 2008
View
2 expected/plproxy_dynamic_record.out
@@ -39,8 +39,6 @@ select * from dynamic_query('select id, username from dynamic_query_test') as fo
(2 rows)
-- test errors
-select * from dynamic_query('select * from dynamic_query_test');
-ERROR: a column definition list is required for functions returning "record"
create or replace function dynamic_query_select()
returns setof record as $x$
cluster 'map0';
View
4 expected/plproxy_encoding.out
@@ -16,6 +16,7 @@ create database test_enc_proxy with encoding 'euc_jp';
create database test_enc_part with encoding 'utf-8';
-- initialize proxy db
\c test_enc_proxy
+set client_min_messages = 'warning';
set client_encoding = 'utf-8';
drop language if exists plpgsql;
create language plpgsql;
@@ -47,6 +48,7 @@ create function test_encoding3(text) returns setof intl_data as $$
$$ language plproxy;
-- initialize part db
\c test_enc_part
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
set client_encoding = 'utf8';
@@ -124,6 +126,7 @@ create database test_enc_proxy with encoding 'utf-8';
create database test_enc_part with encoding 'euc_jp';
-- initialize proxy db
\c test_enc_proxy
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
\i plproxy.sql
@@ -155,6 +158,7 @@ create function test_encoding3(text) returns setof intl_data as $$
$$ language plproxy;
-- initialize part db
\c test_enc_part
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
set client_encoding = 'utf8';
View
2 sql/plproxy_dynamic_record.sql
@@ -31,8 +31,6 @@ select * from dynamic_query('select id, username from dynamic_query_test') as fo
-- test errors
-select * from dynamic_query('select * from dynamic_query_test');
-
create or replace function dynamic_query_select()
returns setof record as $x$
cluster 'map0';
View
4 sql/plproxy_encoding.sql
@@ -22,6 +22,7 @@ create database test_enc_part with encoding 'utf-8';
-- initialize proxy db
\c test_enc_proxy
+set client_min_messages = 'warning';
set client_encoding = 'utf-8';
drop language if exists plpgsql;
create language plpgsql;
@@ -49,6 +50,7 @@ create function test_encoding3(text) returns setof intl_data as $$
$$ language plproxy;
-- initialize part db
\c test_enc_part
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
set client_encoding = 'utf8';
@@ -90,6 +92,7 @@ create database test_enc_part with encoding 'euc_jp';
-- initialize proxy db
\c test_enc_proxy
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
\i plproxy.sql
@@ -118,6 +121,7 @@ $$ language plproxy;
-- initialize part db
\c test_enc_part
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
set client_encoding = 'utf8';
View
6 sql/plproxy_init.sql
@@ -52,18 +52,24 @@ drop database if exists test_enc_proxy;
drop database if exists test_enc_part;
\c test_part
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
+set client_min_messages = 'warning';
\c test_part0
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
\c test_part1
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
\c test_part2
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;
\c test_part3
+set client_min_messages = 'warning';
drop language if exists plpgsql;
create language plpgsql;

0 comments on commit 1ae64ed

Please sign in to comment.