Re: Getting list of supported types in Postgres - Mailing list pgsql-general

From John R Pierce
Subject Re: Getting list of supported types in Postgres
Date
Msg-id 520C5B7A.4030606@hogranch.com
Whole thread Raw
In response to Getting list of supported types in Postgres  (Ivan Radovanovic <radovanovic@gmail.com>)
List 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



pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Getting list of supported types in Postgres
Next
From: Alexander Shutyaev
Date:
Subject: vacuumdb uses a lot of disk