Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a5dc433

Browse files
funny-falconMikhail Rutman
authored and
Mikhail Rutman
committed
sync regression_ee.diff
PGPRO-5676
1 parent eec5798 commit a5dc433

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

expected/regression_ee.diff

+29-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ diff ../../../src/test/regress/expected/create_index.out ../tmp_check/regress_ou
172172
\d concur_heap
173173
Table "public.concur_heap"
174174
Column | Type | Collation | Nullable | Default
175-
@@ -2428,46 +2428,38 @@
175+
@@ -2447,46 +2447,38 @@
176176
INSERT INTO concur_reindex_tab4 VALUES (1), (1), (2);
177177
-- This trick creates an invalid index.
178178
CREATE UNIQUE INDEX CONCURRENTLY concur_reindex_ind5 ON concur_reindex_tab4 (c1);
@@ -570,7 +570,34 @@ diff ../../../src/test/regress/expected/rowsecurity.out ../tmp_check/regress_out
570570
diff ../../../src/test/regress/expected/atx.out ../tmp_check/regress_outdir/results/atx.out
571571
--- ../../../src/test/regress/expected/atx.out CENSORED
572572
+++ ../tmp_check/regress_outdir/results/atx.out CENSORED
573-
@@ -1143,6 +1143,7 @@
573+
@@ -851,6 +851,7 @@
574+
declare c2 cursor with hold for select count_tt1_v(), count_tt1_s();
575+
insert into atx_tt1 values(2);
576+
commit;
577+
+ERROR: cannot PREPARE a transaction that has created a cursor WITH HOLD
578+
commit;
579+
begin;
580+
begin autonomous;
581+
@@ -866,6 +867,7 @@
582+
drop function count_tt1_s();
583+
drop table if exists atx_tt1;
584+
close c2;
585+
+ERROR: cursor "c2" does not exist
586+
-- 13
587+
create table atx_13_t(i int);
588+
begin;
589+
@@ -985,9 +987,7 @@
590+
insert into atx_tt2 values(1);
591+
declare c2 cursor with hold for select error_function();
592+
commit;
593+
-NOTICE: other exception 22012, division by zero
594+
-ERROR: control reached end of function without RETURN
595+
-CONTEXT: PL/pgSQL function error_function()
596+
+ERROR: cannot PREPARE a transaction that has created a cursor WITH HOLD
597+
commit;
598+
drop function if exists error_function();
599+
drop table if exists atx_tt2;
600+
@@ -1074,6 +1074,7 @@
574601
RESET client_min_messages;
575602
create database regression_atx_test_database;
576603
ALTER DATABASE "regression_atx_test_database" SET lc_messages TO 'C';

0 commit comments

Comments
 (0)