refernce tps schema on UDF and fix bad function reference

This commit is contained in:
Paul Trowbridge 2018-02-26 23:58:21 -05:00
parent 53b945ab88
commit 73db72760d
2 changed files with 4 additions and 4 deletions

View File

@ -223,7 +223,7 @@ BEGIN
,pending_list AS (
SELECT
jsonb_extract(
tps.jsonb_extract(
row_to_json(i)::jsonb
,ext.text_array
) json_key,
@ -343,7 +343,7 @@ BEGIN
"message":"import of %L for source %L complete"
}
$$, _path, _srce)::jsonb
)||josnb_build_object('details',_log_info);
)||jsonb_build_object('details',_log_info);
RETURN _message;
END

View File

@ -128,7 +128,7 @@ BEGIN
,pending_list AS (
SELECT
jsonb_extract(
tps.jsonb_extract(
row_to_json(i)::jsonb
,ext.text_array
) json_key,
@ -248,7 +248,7 @@ BEGIN
"message":"import of %L for source %L complete"
}
$$, _path, _srce)::jsonb
)||josnb_build_object('details',_log_info);
)||jsonb_build_object('details',_log_info);
RETURN _message;
END