Documentation fix for adding a column with a default value

Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>

From: "Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-07-15T11:01:00Z
Lists: pgsql-hackers

Attachments

Hi,

the tip in the "Adding a column" section is not true anymore since PostgreSQL 11:

https://www.postgresql.org/docs/current/ddl-alter.html#DDL-ALTER-ADDING-A-COLUMN

Attached a patch proposal for this.

Regards
Daniel














Commits

  1. Doc: clarify when table rewrites happen with column addition and DEFAULT