Shr*_*tra 5 postgresql ddl partitioning
我使用 postgres 10 的声明式分区基于列值创建了一个具有多个分区的新主表。如何向表中添加新列?
您只需要将该列添加到基表中:
alter table master_table add new_column integer;
Run Code Online (Sandbox Code Playgroud)
所有分区将自动获得该新列。
| 归档时间: |
|
| 查看次数: |
2378 次 |
| 最近记录: |