我无法将end_date
在key_request
时区中调用的表中调用的列更改为timestamp
Postgres数据库.我尝试使用以下代码:
alter table key_request alter column end_date type timestamp with time zone using end_date::timestamp with time zone
Run Code Online (Sandbox Code Playgroud)
我一直收到以下错误:
ERROR: cannot cast type time with time zone to timestamp with time zone
Run Code Online (Sandbox Code Playgroud)
知道如何调整此查询才能工作吗?