Re: BUG #4688: Bug in cache.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Oleg <serovOv(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4688: Bug in cache.
Date: 2009-03-03 11:21:30
Message-ID: 49AD12BA.3060402@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-03-03 15:10:02 Re: BUG #4688: Bug in cache.
Previous Message Oleg 2009-03-03 10:48:39 BUG #4688: Bug in cache.