Re: determining a type oid from the name

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: determining a type oid from the name
Дата
Msg-id 4F44E0BC0200002500045A28@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: determining a type oid from the name  (Thom Brown <thom@linux.com>)
Ответы Re: determining a type oid from the name  (Thom Brown <thom@linux.com>)
Список pgsql-hackers
Thom Brown <thom@linux.com> wrote:
> Does this help?
> 
> test=# SELECT pg_typeof('4834.34'::numeric)::oid;
>  pg_typeof
> -----------
>       1700
> (1 row)
Wouldn't it be easier to do this instead?
test=# SELECT 'numeric'::regtype::oid;oid  
------1700
(1 row)
-Kevin


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: determining a type oid from the name
Следующее
От: Thom Brown
Дата:
Сообщение: Re: determining a type oid from the name