File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -175,9 +175,14 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
175175 </para>
176176
177177 <para>
178- If this table is a partition, one cannot perform <literal>DROP NOT NULL</>
178+ If this table is a partition, one cannot perform <literal>DROP NOT NULL</literal >
179179 on a column if it is marked <literal>NOT NULL</literal> in the parent
180- table.
180+ table. To drop the <literal>NOT NULL</literal> constraint from all the
181+ partitions, perform <literal>DROP NOT NULL</literal> on the parent
182+ table. Even if there is no <literal>NOT NULL</> constraint on the
183+ parent, such a constraint can still be added to individual partitions,
184+ if desired; that is, the children can disallow nulls even if the parent
185+ allows them, but not the other way around.
181186 </para>
182187 </listitem>
183188 </varlistentry>
You can’t perform that action at this time.
0 commit comments