postgres 中默认主键字段是否为 NOT NULL?
Is a primary key field NOT NULL by default in postgres?
在 postgres 中默认主键字段是否为 NOT NULL,或者在创建 table 时是否需要如此指定?
Adding a primary key will automatically create a unique B-tree index on the column or group of columns listed in the primary key, and will force the column(s) to be marked NOT NULL
.
(强调我的)
在 postgres 中默认主键字段是否为 NOT NULL,或者在创建 table 时是否需要如此指定?
Adding a primary key will automatically create a unique B-tree index on the column or group of columns listed in the primary key, and will force the column(s) to be marked
NOT NULL
.
(强调我的)