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

From Tom Lane
Subject Re: BUG #4688: Bug in cache.
Date
Msg-id 11672.1236095820@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #4688: Bug in cache.  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: BUG #4688: Bug in cache.
List pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> If we go down that path, how far do we go? We also know that two enums
> are never binary-compatible, right? Composite type and a user-defined
> base type? Hardly, unless you're doing something very hacky...

> Disallowing binary casts when any composite types or enums are involved
> seems sane, but that's as far as we can go with a few lines of code.

Arrays have embedded type OIDs too ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: BUG #4688: Bug in cache.
Next
From: ""
Date:
Subject: BUG #4689: Expanding the length of a VARCHAR column should not induce a table rewrite