Re: [INTERFACES] Max Precision/Scale of Postgres Numeric Type?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Byron Nikolaidis <byron(dot)nikolaidis(at)home(dot)com>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Max Precision/Scale of Postgres Numeric Type?
Date: 2000-01-30 18:09:29
Message-ID: 27637.949255769@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Byron Nikolaidis <byron(dot)nikolaidis(at)home(dot)com> writes:
> I'm implementing the Postgres Numeric Type in the odbc driver, and was
> wondering what the maximum precision and scale for the postgres
> "numeric" type is?

1000, according to src/include/utils/numeric.h. (You could make it
even bigger by editing that file...)

regards, tom lane

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Byron Nikolaidis 2000-01-30 21:30:13 NEW DRIVER v6.40.0008
Previous Message Byron Nikolaidis 2000-01-30 17:46:53 Max Precision/Scale of Postgres Numeric Type?