SELECT'alter table "public"."'|| t.tablename||'"'||' rename to "'|| "lower"(t.tablename)||'";'FROM pg_tables TWHERE T .schemaname = 'public';
///alter table 表名 rename 字段名 to 新字段名
///所有表名 pg_tables