Oleg wrote:
CREATE CAST (tmp_table AS composite_ad_texts) WITHOUT FUNCTION AS ASSIGNMENT;
"WITHOUT FUNCTION" can only be used when both types are binary compatible. You might think that two composite types with the same fields are, but they're not: we store the OID of the composite type in the records.
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs