1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2025-01-04 13:23:00 +02:00

сделал refactoring

This commit is contained in:
Nikitin Aleksandr 2024-09-12 16:41:49 +03:00
parent 5259bc50cd
commit 56530b9e8f

View File

@ -136,14 +136,13 @@ SELECT
as is_primary_key
FROM
pg_catalog.pg_statio_all_tables as st
right join
information_schema.columns c
on
c.table_schema = st.schemaname
and c.table_name = st.relname
left join
pg_catalog.pg_statio_all_tables as st
on
st.schemaname = c.table_schema
and st.relname = c.table_name
left join
pg_catalog.pg_description pgd