Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd7cb23f

Browse files
tglsfdcpull[bot]
authored andcommitted
Harden new test case against force_parallel_mode = regress.
Per buildfarm: worker processes can't see a role created inthe current transaction.
1 parent37cf815 commitd7cb23f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/test/regress/expected/psql.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5248,9 +5248,9 @@ reset work_mem;
52485248
(1 row)
52495249

52505250
-- check \df+
5251-
begin;
52525251
-- we have to use functions with a predictable owner name, so make a role
52535252
create role regress_psql_user superuser;
5253+
begin;
52545254
set session authorization regress_psql_user;
52555255
create function psql_df_internal (float8)
52565256
returns float8
@@ -5275,6 +5275,7 @@ comment on function psql_df_plpgsql () is 'some comment';
52755275
(3 rows)
52765276

52775277
rollback;
5278+
drop role regress_psql_user;
52785279
-- check \sf
52795280
\sf information_schema._pg_expandarray
52805281
CREATE OR REPLACE FUNCTION information_schema._pg_expandarray(anyarray, OUT x anyelement, OUT n integer)

‎src/test/regress/sql/psql.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,9 +1276,9 @@ reset work_mem;
12761276
\do && anyarray*
12771277

12781278
-- check \df+
1279-
begin;
12801279
-- we have to use functions with a predictable owner name, so make a role
12811280
create role regress_psql_user superuser;
1281+
begin;
12821282
set session authorization regress_psql_user;
12831283

12841284
createfunctionpsql_df_internal (float8)
@@ -1297,6 +1297,7 @@ comment on function psql_df_plpgsql () is 'some comment';
12971297

12981298
\df+ psql_df_*
12991299
rollback;
1300+
drop role regress_psql_user;
13001301

13011302
-- check \sf
13021303
\sfinformation_schema._pg_expandarray

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp