Re: [HACKERS] money with 4 digits after dot

From: Konstantin Izmailov <pgfizm(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] money with 4 digits after dot
Date: 2013-03-28 05:03:01
Message-ID: CAAw-Mse1tX1mJfDT4yHoHBkiTcjjP6m5ph8aJNq+bR__M17UXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

I found a workaround: domain type defined as: CREATE DOMAIN currency AS
numeric(16,4);
Thank you!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message salah jubeh 2013-03-28 09:06:13 Re: bloating index, pg_restore
Previous Message Tom Lane 2013-03-28 04:08:19 Re: bloating index, pg_restore

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-03-28 08:31:01 Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Previous Message Tom Lane 2013-03-28 03:01:15 Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)