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

Commit683b0d3

Browse files
committed
Of course, the simple change has ripple effects! Here's a patch for the
rangefunc regression test for the new behavior.Joe Conway
1 parent4f63e11 commit683b0d3

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ INSERT INTO foo VALUES(2,1,'Mary');
4848
-- sql, proretset = f, prorettype = b
4949
CREATE FUNCTION getfoo(int) RETURNS int AS 'SELECT $1;' LANGUAGE SQL;
5050
SELECT * FROM getfoo(1) AS t1;
51-
getfoo
52-
--------
53-
1
51+
t1
52+
----
53+
1
5454
(1 row)
5555

5656
CREATE VIEW vw_getfoo AS SELECT * FROM getfoo(1);
@@ -65,10 +65,10 @@ DROP VIEW vw_getfoo;
6565
DROP FUNCTION getfoo(int);
6666
CREATE FUNCTION getfoo(int) RETURNS setof int AS 'SELECT fooid FROM foo WHERE fooid = $1;' LANGUAGE SQL;
6767
SELECT * FROM getfoo(1) AS t1;
68-
getfoo
69-
--------
70-
1
71-
1
68+
t1
69+
----
70+
1
71+
1
7272
(2 rows)
7373

7474
CREATE VIEW vw_getfoo AS SELECT * FROM getfoo(1);
@@ -84,8 +84,8 @@ DROP VIEW vw_getfoo;
8484
DROP FUNCTION getfoo(int);
8585
CREATE FUNCTION getfoo(int) RETURNS setof text AS 'SELECT fooname FROM foo WHERE fooid = $1;' LANGUAGE SQL;
8686
SELECT * FROM getfoo(1) AS t1;
87-
getfoo
88-
--------
87+
t1
88+
-----
8989
Joe
9090
Ed
9191
(2 rows)
@@ -139,9 +139,9 @@ DROP VIEW vw_getfoo;
139139
DROP FUNCTION getfoo(int);
140140
CREATE FUNCTION getfoo(int) RETURNS int AS 'DECLARE fooint int; BEGIN SELECT fooid into fooint FROM foo WHERE fooid = $1; RETURN fooint; END;' LANGUAGE 'plpgsql';
141141
SELECT * FROM getfoo(1) AS t1;
142-
getfoo
143-
--------
144-
1
142+
t1
143+
----
144+
1
145145
(1 row)
146146

147147
CREATE VIEW vw_getfoo AS SELECT * FROM getfoo(1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp