On Sat, Mar 6, 2010 at 4:34 PM, Gianvito Pio <pio.gianv...@gmail.com> wrote:

> 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
>
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>

Explain in more detail.

-- 
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com

Reply via email to