Re: Function proposal to find the type of a datum

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Function proposal to find the type of a datum
Дата
Msg-id BAY114-F24EB8FCA34F4BC482871B9F99B0@phx.gbl
обсуждение исходный текст
Ответ на Function proposal to find the type of a datum  (Kate F <kate@cats.meow.at>)
Ответы Re: Function proposal to find the type of a datum  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hello,

you can identify type via operator OF.

like:
 IF a IS OF INTEGER THEN   RAISE NOTICE 'Parametr a is numeric'; ELSIF a IS OF varchar THEN   RAISE NOTICE 'Parametr a
isstring'; END IF;
 

Regards
Pavel Stehule

_________________________________________________________________
Citite se osamele? Poznejte nekoho vyjmecneho diky Match.com. 
http://www.msn.cz/



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

Предыдущее
От: Jeremy Drake
Дата:
Сообщение: Re: writing new regexp functions
Следующее
От: David Fetter
Дата:
Сообщение: Re: writing new regexp functions