I am running the following query

update tempportfwdconnectiona set srcid=interface.objectid from interface where tempportfwdconnectiona.hostid=interface.host and tempportfwdconnectiona.spantreeport=interface.stpport

For application reasons the spantreeport in one table is a text field and an integer in the other.

I am getting a cast error when I run this query which did work 8.2x, I can't make both fields the same type is there any work around any body can suggest.

I tried creating a cast but the interface function text_int no longer exists.


Regards
E.J. Moloney


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to