summaryrefslogtreecommitdiff
path: root/src/test/regress/expected/rangefuncs.out
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-10-06 19:51:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-10-06 19:51:16 +0000
commit9ea14ef56ab8b7d22a4148c4e6765a7874d968a4 (patch)
treef6005a6fb3a7fd76101c94c6951fbc814eb0f161 /src/test/regress/expected/rangefuncs.out
parentfa63749d2177c3bf700f10a3d297954328ddf3bf (diff)
downloadpostgresql-9ea14ef56ab8b7d22a4148c4e6765a7874d968a4.tar.gz
When a function not returning RECORD has a single OUT parameter, use
the parameter's name (if any) as the default column name for SELECT FROM the function, rather than the function name as previously. I still think this is a bad idea, but I lost the argument. Force decompilation of function RTEs to specify full aliases always, to reduce the odds of this decision breaking dumped views.
Diffstat (limited to 'src/test/regress/expected/rangefuncs.out')
-rw-r--r--src/test/regress/expected/rangefuncs.out26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/test/regress/expected/rangefuncs.out b/src/test/regress/expected/rangefuncs.out
index 42f770ff55..49fc121f04 100644
--- a/src/test/regress/expected/rangefuncs.out
+++ b/src/test/regress/expected/rangefuncs.out
@@ -1,15 +1,15 @@
SELECT name, setting FROM pg_settings WHERE name LIKE 'enable%';
- name | setting
+ name | setting
-------------------+---------
- enable_bitmapscan | on
- enable_hashagg | on
- enable_hashjoin | on
- enable_indexscan | on
- enable_mergejoin | on
- enable_nestloop | on
- enable_seqscan | on
- enable_sort | on
- enable_tidscan | on
+ enable_bitmapscan | on
+ enable_hashagg | on
+ enable_hashjoin | on
+ enable_indexscan | on
+ enable_mergejoin | on
+ enable_nestloop | on
+ enable_seqscan | on
+ enable_sort | on
+ enable_tidscan | on
(9 rows)
CREATE TABLE foo2(fooid int, f2 int);
@@ -409,9 +409,9 @@ SELECT foo(42);
(1 row)
SELECT * FROM foo(42);
- foo
------
- 43
+ f2
+----
+ 43
(1 row)
SELECT * FROM foo(42) AS p(x);