@puca/puca-core 11.8.14 → 11.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
SELECT t.obj_schema AS v_curr_obj_schema,
|
|
1
|
+
SELECT t.obj_schema AS v_curr_obj_schema,
|
|
2
|
+
t.obj_name,
|
|
3
|
+
t.obj_type
|
|
4
|
+
FROM (
|
|
2
5
|
WITH RECURSIVE recursive_deps(obj_schema, obj_name, obj_type, depth) AS (
|
|
3
6
|
SELECT 'public'::varchar COLLATE "C", $1::varchar COLLATE "C", NULL::VARCHAR, 0
|
|
4
7
|
UNION
|
|
@@ -22,4 +25,7 @@ SELECT t.obj_schema AS v_curr_obj_schema, t.obj_name, t.obj_type FROM (
|
|
|
22
25
|
SELECT recursive_deps.obj_schema, recursive_deps.obj_name, recursive_deps.obj_type, recursive_deps.depth
|
|
23
26
|
FROM recursive_deps
|
|
24
27
|
WHERE depth > 0
|
|
25
|
-
) t
|
|
28
|
+
) t
|
|
29
|
+
join table_dictionary td
|
|
30
|
+
on t.obj_name = td.name
|
|
31
|
+
order by td.puca_created_at
|