Add test for a proc name = return col name, Fix #901

This commit is contained in:
steve-chavez
2017-07-07 16:32:16 -05:00
parent f0bd507ab9
commit cce3138cc1
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -1215,6 +1215,12 @@ create table grandchild_entities (
jsonb_col jsonb
);
-- Used for testing that having the same return column name as the proc name
-- doesn't conflict with the required output, details in #901
create function test.test() returns table(test text, value int) as $$
values ('hello', 1);
$$ language sql;
--
-- PostgreSQL database dump complete
--