Re: BUG #4688: Bug in cache.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4688: Bug in cache.
Дата
Msg-id 10782.1236093002@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #4688: Bug in cache.  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: BUG #4688: Bug in cache.  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> 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.

Although this qualifies as pilot error (superusers are expected to know
what they're doing), should we attempt to prevent the case?  It doesn't
seem like a tremendously unlikely mistake to make, and AFAICS there is
no easy way to recover your data once you've done it.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #4688: Bug in cache.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #4688: Bug in cache.