Check type compatibility

Поиск
Список
Период
Сортировка
От Gianvito Pio
Тема Check type compatibility
Дата
Msg-id 4B9236A8.3070603@gmail.com
обсуждение исходный текст
Ответы Re: Check type compatibility  (Nilesh Govindarajan <lists@itech7.com>)
Re: Check type compatibility  ("Little, Douglas" <DOUGLAS.LITTLE@orbitz.com>)
Список pgsql-sql
Hi all,
is there a way to check if two attribute are type compatible (for 
example integer and serial, integer and integer, character varying and 
text, etc..)?

Example:
IF (compatible (table1.att1, table2.att2)) THEN        ...
ELSE        ...
END IF;

Thanks



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

Предыдущее
От: Petru Ghita
Дата:
Сообщение: Does IMMUTABLE property propagate?
Следующее
От: Nilesh Govindarajan
Дата:
Сообщение: Re: Check type compatibility