我"ENGINE"在 Postgres 数据库中有一个表,我必须在其中将名为loglevelstring的列的数据类型更改为 enum。
"ENGINE"
loglevel
但是,我无法理解手册中的说明:
ALTER [ COLUMN ] column TYPE type [ USING expression ]
postgresql enums alter-table
alter-table ×1
enums ×1
postgresql ×1