pgsql: Add casts from int4 and int8 to numeric. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Add casts from int4 and int8 to numeric.
Date
Msg-id E1Q76Rr-0006dg-ET@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Avoid assuming there will be only 3 states for synchronous_commi
Next
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: [npgsql-Patches-1011012 ] Australian Date and Time