pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Doc: clarify when table rewrites happen with column addition and 3+ messages / 1 participants [nested] [flat]
* pgsql: Doc: clarify when table rewrites happen with column addition and @ 2019-07-19 02:44 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2019-07-19 02:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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/DB6PR0902MB2184C7D5645CF15D75EB7957D2CF0@DB6PR0902MB2184.eurprd09.prod.outlook.c... Backpatch-through: 11 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/1300fa66b2f3d0dcd2eed7a5eff9e3fc22807f7c Modified Files -------------- doc/src/sgml/ddl.sgml | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Doc: clarify when table rewrites happen with column addition and @ 2019-07-19 02:44 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2019-07-19 02:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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/DB6PR0902MB2184C7D5645CF15D75EB7957D2CF0@DB6PR0902MB2184.eurprd09.prod.outlook.c... Backpatch-through: 11 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/80aa66392ec8264cad6b2ad1bb442238c8771a6d Modified Files -------------- doc/src/sgml/ddl.sgml | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Doc: clarify when table rewrites happen with column addition and @ 2019-07-19 02:44 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2019-07-19 02:44 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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/DB6PR0902MB2184C7D5645CF15D75EB7957D2CF0@DB6PR0902MB2184.eurprd09.prod.outlook.c... 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-07-19 02:44 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-07-19 02:44 pgsql: Doc: clarify when table rewrites happen with column addition and Michael Paquier <michael@paquier.xyz> 2019-07-19 02:44 pgsql: Doc: clarify when table rewrites happen with column addition and Michael Paquier <michael@paquier.xyz> 2019-07-19 02:44 pgsql: Doc: clarify when table rewrites happen with column addition and Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox