You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Citus 12.0.0 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3), 64-bit
PostgreSQL 15.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit
It worked on Citus 11.2.1:
Citus 11.2.1 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3), 64-bit
PostgreSQL 15.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit
The NOT NULL constraint works on both versions.
Code like this, with the explicit NULL clause, is generated by Django.
The text was updated successfully, but these errors were encountered:
# db_backend/base.pyfromdjango_multitenant.backends.postgresql.baseimportDatabaseWrapperasCitusDatabaseWrapper, TenantDatabaseFeaturesclassDatabaseFeatures(TenantDatabaseFeatures):
# The explicit NULL constraint (ALTER TABLE a ADD COLUMN b INT NULL) is broken in Citus 12implied_column_null=TrueclassDatabaseWrapper(CitusDatabaseWrapper):
features_class=DatabaseFeatures
Citus 12.0.0 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3), 64-bit
PostgreSQL 15.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit
It worked on Citus 11.2.1:
Citus 11.2.1 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3), 64-bit
PostgreSQL 15.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bit
The
NOT NULL
constraint works on both versions.Code like this, with the explicit NULL clause, is generated by Django.
The text was updated successfully, but these errors were encountered: