zpbit_in does not receive correct atttypmod

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема zpbit_in does not receive correct atttypmod
Дата
Msg-id Pine.LNX.4.30.0104262306520.758-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: zpbit_in does not receive correct atttypmod  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
When I create a table

create table test (a bit(4));

and insert a value

insert into test values (b'1000000001');

the zpbit_in() function gets an atttypmod (arg 2 (of 2)) of -1.  Is there
somewhere the system needs to be told that "this type uses the atttypmod
field"?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: Joel Burton
Дата:
Сообщение: Re: Re: unanswered: Schema Issue
Следующее
От: Tom Lane
Дата:
Сообщение: Re: status after 7.1 and pgcrypto update / crypt(table.field) ?