Re: domain on bit(N) type produces strange results

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: domain on bit(N) type produces strange results
Дата
Msg-id 9524.1099763358@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: domain on bit(N) type produces strange results  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> Kris Jurka <books@ejurka.com> writes:
>> Creating a domain on bit(N) doesn't seem to work as expected when casting
>> to the domain type.

> What's going on here is that "7::bit4" is implemented as
> "7::bit::bit(4)", and since 7::bit is taken to mean 7::bit(1),
> the result follows.

I've fixed it to collapse this into a direct "7::bit(4)" coercion.
Thanks for the test case.

            regards, tom lane

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: BUG #1307: Possible bug inheritance/referential integrity
Следующее
От: Tom Lane
Дата:
Сообщение: Re: could not find /usr/local/timezone