Get data type aliases

Поиск
Список
Период
Сортировка
От Rebecca Clarke
Тема Get data type aliases
Дата
Msg-id CAMChtdfJO50+d63CDT+f8+KtVj0aSou2yXOHfMhDe+hsuzy0rQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Get data type aliases  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-general
Hi all.

I have a function that has an attribute with datatype of character varying. In the pg_type table the oid of the data type points to type varchar

Is there somewhere that identifies the alias for each type?

E.g. 
int4 = integer
varchar = character varying.
 and so on.

I can do an if statement in my code but I'd prefer not to.

Thanks in advance.

Rebecca







В списке pgsql-general по дате отправления:

Предыдущее
От: Andrew Tipton
Дата:
Сообщение: Determining the type (array, object, or scalar) of a JSON value
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Determining the type (array, object, or scalar) of a JSON value