pgsql: Add casts from int4 and int8 to numeric.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Add casts from int4 and int8 to numeric.
Дата
Msg-id E1Q76Rr-0006dg-ET@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add casts from int4 and int8 to numeric.

Joey Adams, per gripe from Ramanujam.  Review by myself and Tom Lane.

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/datatype.sgml          |   17 +++++++---
src/backend/utils/adt/cash.c        |   62 +++++++++++++++++++++++++++++++++-
src/include/catalog/catversion.h    |    2 +-
src/include/catalog/pg_cast.h       |    2 +
src/include/catalog/pg_proc.h       |    4 ++
src/include/utils/cash.h            |    3 ++
src/test/regress/expected/money.out |   63 +++++++++++++++++++++++++++++++++++
src/test/regress/sql/money.sql      |   15 ++++++++
8 files changed, 161 insertions(+), 7 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: pgsql: Avoid assuming there will be only 3 states for synchronous_commi
Следующее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql2: [npgsql-Patches-1011012 ] Australian Date and Time