Skip to content

Commit

Permalink
Test fixes for PG15.5 merge (#1995)
Browse files Browse the repository at this point in the history
Seems like community has fixed a bug with procedure call
due to which JDBC test case started passing. This commit
fixes the expected output file for it.

Signed-off-by: Rishabh Tanwar [email protected]
  • Loading branch information
rishabhtanwar29 authored Nov 9, 2023
1 parent 8686660 commit 15638a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 3 additions & 11 deletions test/JDBC/expected/TestRecreatedInnerProcedures.out
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,16 @@ as
insert into t1 values (1);
go

-- This has failed since PG14.
exec psql_outer_proc;
go
~~ERROR (Code: 33557097)~~

~~ERROR (Message: Calling an inner procedure failed)~~
~~ROW COUNT: 1~~

select * from t1;
go
~~START~~
int
1
1
~~END~~


Expand Down Expand Up @@ -190,20 +188,14 @@ end;
$$ LANGUAGE PLPGSQL;
go

-- This has failed since PG14.
call psql_outer_proc();
go
~~ERROR (Code: 0)~~

~~ERROR (Message: ERROR: Calling an inner procedure failed
Where: PL/pgSQL function psql_outer_proc() line 5 at RAISE
Server SQLState: P0001)~~

select * from t1;
go
~~START~~
int4
1
1
~~END~~


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ as
insert into t1 values (1);
go

-- This has failed since PG14.
exec psql_outer_proc;
go
select * from t1;
Expand Down Expand Up @@ -146,7 +145,6 @@ end;
$$ LANGUAGE PLPGSQL;
go

-- This has failed since PG14.
call psql_outer_proc();
go
select * from t1;
Expand Down

0 comments on commit 15638a8

Please sign in to comment.