Doc: clarify when table rewrites happen with column addition and DEFAULT 16828d5 has improved ALTER TABLE so as a column addition does not require a rewrite for a non-NULL default with constant expressions, but one spot in the documentation did not get updated consistently. The documentation also now clarifies the fact that this does not apply if the expression is volatile, where a table rewrite is still required.
Reported-by: Daniel Westermann Author: Ian Barwick Reviewed-by: Michael Paquier, Daniel Westermann Discussion: https://postgr.es/m/db6pr0902mb2184c7d5645cf15d75eb7957d2...@db6pr0902mb2184.eurprd09.prod.outlook.com Backpatch-through: 11 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b990cc38dc64f3333c1c61aba247bfbaea1475f8 Modified Files -------------- doc/src/sgml/ddl.sgml | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-)