pgsql: Add a transform function for numeric typmod coercisions.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Add a transform function for numeric typmod coercisions.
Дата
Msg-id E1RuoXA-000141-Os@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add a transform function for numeric typmod coercisions.

This enables ALTER TABLE to skip table and index rebuilds when a column
is changed to an unconstrained numeric, or when the scale is unchanged
and the precision does not decrease.

Noah Misch, with a few stylistic changes and a fix for an OID
collision by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3cc0800829a6dda5347497337b0cf43848da4acf

Modified Files
--------------
src/backend/utils/adt/numeric.c  |   48 ++++++++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h |    2 +-
src/include/catalog/pg_proc.h    |    4 ++-
src/include/utils/builtins.h     |    1 +
4 files changed, 53 insertions(+), 2 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Add TIMING option to EXPLAIN, to allow eliminating of timing ove
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Add a transform function for varbit typmod coercisions.