小编Dav*_*ers的帖子

如何将现有类型从“bigint”更改为“bigserial”?

我有一个具有以下结构的 PostgreSQL 表:

在此处输入图片说明

我只需要将TYPEprove_identity_idfrom更改bigintbigserial。我阅读了文档,但无法理解如何在没有以下错误的情况下合法地实现更改:PostgreSQL said: type "bigserial" does not exist

PostgreSQL 10.1 on x86_64-apple-darwin14.5.0, compiled by Apple LLVM version 7.0.0 (clang-700.1.76), 64-bit

postgresql identity postgresql-10

3
推荐指数
2
解决办法
1万
查看次数

标签 统计

identity ×1

postgresql ×1

postgresql-10 ×1