查询某个表的所有列信息
select * from information_schema.columns where table_schema='public' and table_name='users';
修改表字段
ALTER TABLE table_name DROP COLUMN if exists column_name1; ALTER TABLE table_name ADD column1 integer;原文链接:https://www.f2er.com/postgresql/194886.html