Incorporated feedback for PG11B1 press release.
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Mon, 21 May 2018 18:15:05 +0000 (14:15 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Mon, 21 May 2018 18:15:05 +0000 (14:15 -0400)
Feedback from Andrew Dunstan on ALTER TABLE .. ADD COLUMN
enhancement.

releases/11/beta/11beta1.md

index 68a198f93b1ca4f4e1141716cb975cc3a88fcc45..8dcbc12eba847915ee9f0d7fa70e0bc273bfaae0 100644 (file)
@@ -43,7 +43,7 @@ The JIT framework in PostgreSQL is designed to allow future work for optimizatio
 
 ### Window Functions Fully Support SQL:2011 Standard
 
-As of PostgreSQL 11, [window functions](https://www.postgresql.org/docs/devel/static/sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS) now support all options shown in the SQL:2011 standard, including `RANGE <distance> PRECEDING/FOLLOWING`, `GROUPS` mode, and frame exclusion options.
+As of PostgreSQL 11, [window functions](https://www.postgresql.org/docs/devel/static/sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS) now support all options shown in the SQL:2011 standard, including `RANGE _distance_ PRECEDING/FOLLOWING`, `GROUPS` mode, and frame exclusion options.
 
 ### Channel Binding for SCRAM Authentication
 
@@ -53,7 +53,7 @@ The previous version of PostgreSQL introduced SCRAM authentication to improve th
 
 The PostgreSQL Global Development Group recognizes that while PostgreSQL itself contains a robust set of features, not all of them may be easy-to-use and could require workarounds in both development and production environments.
 
-Prior to PostgreSQL 11, one such feature was using the `ALTER TABLE .. ADD COLUMN` command where the newly created column contained a `NOT NULL DEFAULT` value. Prior to PostgreSQL 11, when executing aforementioned statement, PostgreSQL would rewrite the whole table, which on larger tables in active systems could cause a cascade of problems. PostgreSQL 11 removes the need to rewrite the table, and as such running `ALTER TABLE .. ADD COLUMN .. NOT NULL DEFAULT ..` will execute extremely quickly.
+Prior to PostgreSQL 11, one such feature was using the `ALTER TABLE .. ADD COLUMN` command where the newly created column had a `DEFAULT` value that was not NULL. Prior to PostgreSQL 11, when executing aforementioned statement, PostgreSQL would rewrite the whole table, which on larger tables in active systems could cause a cascade of problems. PostgreSQL 11 removes the need to rewrite the table in most cases, and as such running `ALTER TABLE .. ADD COLUMN .. DEFAULT ..` will execute extremely quickly.
 
 Another feature that fell into this category was the inability to intuitively quit from the PostgreSQL command-line (`psql`). There has been numerous recorded complaints of users trying to quit with the `quit` and `exit` commands, only to learn that the command to do so was `\q` (or _Ctrl-D_ if someone was so inclined).