pgsql: Improve documentation about CREATE TABLE ... LIKE.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Improve documentation about CREATE TABLE ... LIKE.
Дата
Msg-id E1bSp5e-0007ty-Ni@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve documentation about CREATE TABLE ... LIKE.

The docs failed to explain that LIKE INCLUDING INDEXES would not preserve
the names of indexes and associated constraints.  Also, it wasn't mentioned
that EXCLUDE constraints would be copied by this option.  The latter
oversight seems enough of a documentation bug to justify back-patching.

In passing, do some minor copy-editing in the same area, and add an entry
for LIKE under "Compatibility", since it's not exactly a faithful
implementation of the standard's feature.

Discussion: <20160728151154.AABE64016B@smtp.hushmail.com>

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a9a998180aa417b972a4502a4ed9c69c35a7e556

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 58 +++++++++++++++++++++++++-------------
src/backend/parser/parse_utilcmd.c |  4 ++-
2 files changed, 42 insertions(+), 20 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve documentation about CREATE TABLE ... LIKE.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve documentation about CREATE TABLE ... LIKE.