Re: BUG #4688: Bug in cache. - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: BUG #4688: Bug in cache.
Date
Msg-id 49AD12BA.3060402@enterprisedb.com
Whole thread Raw
In response to BUG #4688: Bug in cache.  ("Oleg" <serovOv@gmail.com>)
Responses Re: BUG #4688: Bug in cache.
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: "Oleg"
Date:
Subject: BUG #4688: Bug in cache.
Next
From: Tom Lane
Date:
Subject: Re: BUG #4688: Bug in cache.