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

Commit975368e

Browse files
committed
Avoid function name conflict when plpgsql and rangefuncs regression tests
execute in parallel. Spotted by Peter.
1 parente6a8eba commit975368e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,25 +1836,25 @@ select * from f1(42);
18361836
(2 rows)
18371837

18381838
drop function f1(int);
1839-
create functiondup(in i anyelement, out j anyelement, out k anyarray) as $$
1839+
create functionduplic(in i anyelement, out j anyelement, out k anyarray) as $$
18401840
begin
18411841
j := i;
18421842
k := array[j,j];
18431843
return;
18441844
end$$ language plpgsql;
1845-
select * fromdup(42);
1845+
select * fromduplic(42);
18461846
j | k
18471847
----+---------
18481848
42 | {42,42}
18491849
(1 row)
18501850

1851-
select * fromdup('foo'::text);
1851+
select * fromduplic('foo'::text);
18521852
j | k
18531853
-----+-----------
18541854
foo | {foo,foo}
18551855
(1 row)
18561856

1857-
drop functiondup(anyelement);
1857+
drop functionduplic(anyelement);
18581858
--
18591859
-- test PERFORM
18601860
--

‎src/test/regress/sql/plpgsql.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,17 +1629,17 @@ select * from f1(42);
16291629

16301630
dropfunction f1(int);
16311631

1632-
createfunctiondup(in i anyelement, out j anyelement, out k anyarray)as $$
1632+
createfunctionduplic(in i anyelement, out j anyelement, out k anyarray)as $$
16331633
begin
16341634
j := i;
16351635
k := array[j,j];
16361636
return;
16371637
end$$ language plpgsql;
16381638

1639-
select*fromdup(42);
1640-
select*fromdup('foo'::text);
1639+
select*fromduplic(42);
1640+
select*fromduplic('foo'::text);
16411641

1642-
dropfunctiondup(anyelement);
1642+
dropfunctionduplic(anyelement);
16431643

16441644
--
16451645
-- test PERFORM

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp