check if type is valid pg type

Поиск
Список
Период
Сортировка
От Dominik Moritz
Тема check if type is valid pg type
Дата
Msg-id 0258E307-2F55-4E9B-83C6-17B48FE0505F@gmail.com
обсуждение исходный текст
Ответы Re: check if type is valid pg type  (Josh Kupershmidt <schmiddy@gmail.com>)
Список pgsql-novice
Hi all,

I need to check, whether a type is a valid postgres type or not. My first take was to check in the pg_type table.
However,pg_type does not list types such as integer (but it does list int4) or float (but it does indeed list float8).
Whatis the best way to check whether a type is valid or not? 

Thanks,
Dominik
Вложения

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

Предыдущее
От: Tom Browder
Дата:
Сообщение: Re: Using Different Ports for Multiple PosgreSQL Installations: Any Issues?
Следующее
От: "Raghavendra"
Дата:
Сообщение: Converting from strings to c data types