pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Byron Nikolaidis <byron.nikolaidis@home.com>
To: pgsql-interfaces@postgreSQL.org
Subject: Max Precision/Scale of Postgres Numeric Type?
Date: Sun, 30 Jan 2000 12:46:53 -0500
Message-ID: <3894790D.3B0D324@home.com> (raw)


Hi all,

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?  It seems pretty huge -- I tried numeric(150, 100 )
with no problem!

Note, this is not the precision/scale returned in the atttypmod field
which I use for SQLColumns and SQLDescribeCol/SQLColAttributes, but for
the SQLGetTypeInfo odbc function, which needs maximums for the data type
itself.

Thanks,

Byron



view thread (2+ messages)  latest in thread

Message-ID: <3894790D.3B0D324@home.com>
Permalink:  ../3894790D.3B0D324@home.com/
Also on:    postgresql.org/message-id/3894790D.3B0D324@home.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: byron.nikolaidis@home.com
  Subject: Re: Max Precision/Scale of Postgres Numeric Type?
  In-Reply-To: <3894790D.3B0D324@home.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox