File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ t.typname AS name,
44n .nspname as schema,
55pg_catalog .Format_type ( t .oid , NULL ) AS format,
66pg_catalog .obj_description ( t .oid , ' pg_type' ) AS description,
7- array (
7+ array_to_json( array (
88 select e .enumlabel
99 FROM pg_catalog .pg_enum e
1010 WHERE e .enumtypid = t .oid
1111 ORDER BY e .oid
12- ) AS enums
12+ )) AS enums
1313FROM pg_catalog .pg_type t LEFT JOIN pg_catalog .pg_namespace n
1414ON n .oid = t .typnamespace
1515WHERE (
Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ t.typname AS name,
44n .nspname as schema,
55pg_catalog .Format_type ( t .oid , NULL ) AS format,
66pg_catalog .obj_description ( t .oid , ' pg_type' ) AS description,
7- array (
7+ array_to_json( array (
88 select e .enumlabel
99 FROM pg_catalog .pg_enum e
1010 WHERE e .enumtypid = t .oid
1111 ORDER BY e .oid
12- ) AS enums
12+ )) AS enums
1313FROM pg_catalog .pg_type t LEFT JOIN pg_catalog .pg_namespace n
1414ON n .oid = t .typnamespace
1515WHERE (
You can’t perform that action at this time.
0 commit comments