Re: [GENERAL] Is the data type decimal() still a valid type? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [GENERAL] Is the data type decimal() still a valid type?
Date
Msg-id 199910130142.VAA16278@candle.pha.pa.us
Whole thread Raw
In response to Is the data type decimal() still a valid type?  ("Robert Chalmers" <robert@chalmers.com.au>)
List pgsql-general
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi,
> I see from the user manual pages, that in data types, the type DECIMAL() is
> not listed, yet it still works.  Is this type supported still or is it being
> slowly dropped?
>
> I can do a "create table c1 (pid decimal(3,2) NOT NULL); and it works fine,
> but I can find no reference to the DECIMAL type in the docs?
>
> Should I use Float4 instead?

Decimal is a new feature.  Use it.  It is great.  Also, tell us where it
is missing, and we will add it.  DECIMAL the same a NUMERIC.


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: "Robert Chalmers"
Date:
Subject: Is the data type decimal() still a valid type?
Next
From: Paul Schilling
Date:
Subject: Perl DBI + binary data in psql not working