Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
975368e2
Commit
975368e2
authored
Jul 01, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid function name conflict when plpgsql and rangefuncs regression tests
execute in parallel. Spotted by Peter.
parent
e6a8eba3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/test/regress/expected/plpgsql.out
src/test/regress/expected/plpgsql.out
+4
-4
src/test/regress/sql/plpgsql.sql
src/test/regress/sql/plpgsql.sql
+4
-4
No files found.
src/test/regress/expected/plpgsql.out
View file @
975368e2
...
...
@@ -1836,25 +1836,25 @@ select * from f1(42);
(2 rows)
drop function f1(int);
create function dup(in i anyelement, out j anyelement, out k anyarray) as $$
create function dup
lic
(in i anyelement, out j anyelement, out k anyarray) as $$
begin
j := i;
k := array[j,j];
return;
end$$ language plpgsql;
select * from dup(42);
select * from dup
lic
(42);
j | k
----+---------
42 | {42,42}
(1 row)
select * from dup('foo'::text);
select * from dup
lic
('foo'::text);
j | k
-----+-----------
foo | {foo,foo}
(1 row)
drop function dup(anyelement);
drop function dup
lic
(anyelement);
--
-- test PERFORM
--
...
...
src/test/regress/sql/plpgsql.sql
View file @
975368e2
...
...
@@ -1629,17 +1629,17 @@ select * from f1(42);
drop
function
f1
(
int
);
create
function
dup
(
in
i
anyelement
,
out
j
anyelement
,
out
k
anyarray
)
as
$$
create
function
dup
lic
(
in
i
anyelement
,
out
j
anyelement
,
out
k
anyarray
)
as
$$
begin
j
:
=
i
;
k
:
=
array
[
j
,
j
];
return
;
end
$$
language
plpgsql
;
select
*
from
dup
(
42
);
select
*
from
dup
(
'foo'
::
text
);
select
*
from
dup
lic
(
42
);
select
*
from
dup
lic
(
'foo'
::
text
);
drop
function
dup
(
anyelement
);
drop
function
dup
lic
(
anyelement
);
--
-- test PERFORM
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment