Re: Getting list of supported types in Postgres

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Getting list of supported types in Postgres
Date: 2013-08-15 04:39:22
Message-ID: 520C5B7A.4030606@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/14/2013 5:17 AM, Ivan Radovanovic wrote:
> apparently pg_catalog.format_type for some types return quoted name
> ("char" for example), also I can't find decimal in results (there is
> numeric, but I would like to have complete list of supported types, so
> decimal should be included too). In documentation it is said that
> typlen of -1 or -2 means that type is variable length, but I don't
> know how to find out if type can have additional precision?

DECIMAL is not a type per say, its an alias for NUMERIC.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dennis 2013-08-15 05:02:53 Re: Debugging Postgres?
Previous Message Michael Paquier 2013-08-15 03:23:31 Re: Getting list of supported types in Postgres