This commit is contained in:
anqiansong
2022-06-21 20:01:42 +08:00
committed by GitHub
parent b9eb03e9a9
commit b44e8f5c75
2 changed files with 18 additions and 10 deletions

View File

@@ -81,6 +81,7 @@ from (
and a.attnum > 0
and a.attrelid = c.oid
and a.atttypid = t.oid
GROUP BY a.attnum, c.relname, a.attname, t.typname, a.atttypmod, a.attnotnull, b.description
ORDER BY a.attnum) AS t
left join information_schema.columns AS c on t.relname = c.table_name
and t.field = c.column_name and c.table_schema = $2`