pgsql: Be more clear when a new column name collides with a system colu

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Be more clear when a new column name collides with a system colu
Дата
Msg-id E1RqTPw-0000qo-3J@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Be more clear when a new column name collides with a system column name.

We now use the same error message for ALTER TABLE .. ADD COLUMN or
ALTER TABLE .. RENAME COLUMN that we do for CREATE TABLE.  The old
message was accurate, but might be confusing to users not aware of our
system columns.

Vik Reykja, with some changes by me, and further proofreading by Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2d1371d3ee5cf7e96d16fb503c27e060df9497f7

Modified Files
--------------
src/backend/commands/tablecmds.c          |   64 ++++++++++++++++++++---------
src/test/regress/expected/alter_table.out |    2 +
src/test/regress/expected/errors.out      |    2 +-
src/test/regress/sql/alter_table.sql      |    2 +
4 files changed, 49 insertions(+), 21 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix sentence in docs: checkpoints are not done by bgwriter anymo
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Adjust tuplesort.c based on the fact that we never use the OS's