Check type compatibility

Поиск
Список
Период
Сортировка
От Gianvito Pio
Тема Check type compatibility
Дата
Msg-id 4B9236A8.3070603@gmail.com
обсуждение исходный текст
Ответы Re: Check type compatibility
Re: Check type compatibility
Список 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 по дате отправления: