Quote identifier names in RPC function arguments (#1153)

This commit is contained in:
mdr1384
2018-07-30 09:11:09 -05:00
committed by Steve Chávez
parent 70e95649fd
commit 56bd5d5f91
4 changed files with 18 additions and 2 deletions
+5
View File
@@ -1570,3 +1570,8 @@ comment on materialized view materialized_projects is
$$A materialized view for projects
Just a test for materialized views$$;
create or replace function test."quotedFunction"("user" text, "fullName" text, "SSN" text)
returns jsonb AS $$
select format('{"user": "%s", "fullName": "%s", "SSN": "%s"}', "user", "fullName", "SSN")::jsonb;
$$ language sql;