Re: BUG #14786: Wrong Precision with money datatype

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: nithinkrishna(dot)p(at)gmail(dot)com
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14786: Wrong Precision with money datatype
Date: 2017-08-21 14:38:42
Message-ID: CAKFQuwbRFwNbu6ve39vNzaQ=Mdy-c_sfHV8JO75URNGs-+N9ag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Aug 21, 2017 at 1:04 AM, <nithinkrishna(dot)p(at)gmail(dot)com> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 14786
> Logged by: Nithin Krishna
> Email address: nithinkrishna(dot)p(at)gmail(dot)com
> PostgreSQL version: 9.4.5
> Operating system: Windows 2008 R2 Standard Edition
> Description:
>
> Hi,
>
> I have a table created in postgres database with money datatype. I have
> connected to the database via SQuirrel SQL Client and found that the
> precision of the money datatype is shown as 2147483647. But from the
> postgres documentation the precision and scale should be 19 and 2
> respectively. I am using postgres driver jar postgresql-9.4-1203.jdbc42.jar
> and database version is 9.4.5
>

How/where did you observe this 2147483647 number?​

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message 691525127 2017-08-22 03:02:41 BUG #14789: In Cascading Replication,the "wal_level" is setted to "archive",the operation becomes abnomal
Previous Message David G. Johnston 2017-08-21 14:36:03 Re: BUG #14787: Postgresql_for_odoo