pub fn define_not_null_constraints(
context: &CreateTableAnalysisContext<'_>,
table: &mut CreateTable,
inherited: &InheritedDefinitions,
relation_oid: u32,
allocate: &mut CatalogIdentityAllocator<'_>,
) -> Result<(), SQLError>Expand description
Create the NOT NULL constraints of table as AddRelationNotNullConstraints does, after its CHECK constraints: the declared constraints take their names and OIDs in declaration order, then the constraints only parents give. relation_oid is the relation’s OID, which the pg_constraint_conrelid_contypid_conname_index violation of a given name the relation holds reports.