Revert "Merge pull request #744 from Bare7a/postgresql-user-type-enhancements"

This reverts commit fdabe1eeaa, reversing
changes made to 4429b1d618.
This commit is contained in:
Jan Prochazka
2024-05-29 07:09:43 +02:00
parent eba5bd9c2b
commit 373a35fe65
2 changed files with 3 additions and 7 deletions

View File

@@ -4,11 +4,7 @@ select
table_name as "pure_name",
column_name as "column_name",
is_nullable as "is_nullable",
case
when (data_type = 'USER-DEFINED' OR data_type = 'ARRAY') then udt_name::regtype::text
else data_type
end
as "data_type",
data_type as "data_type",
character_maximum_length as "char_max_length",
numeric_precision as "numeric_precision",
numeric_scale as "numeric_scale",
@@ -24,4 +20,4 @@ where
('views:' || table_schema || '.' || table_name) =OBJECT_ID_CONDITION
)
order by ordinal_position
`;
`;