zpbit_in does not receive correct atttypmod - Mailing list pgsql-hackers

From Peter Eisentraut
Subject zpbit_in does not receive correct atttypmod
Date
Msg-id Pine.LNX.4.30.0104262306520.758-100000@peter.localdomain
Whole thread Raw
Responses Re: zpbit_in does not receive correct atttypmod
List 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 by date:

Previous
From: Joel Burton
Date:
Subject: Re: Re: unanswered: Schema Issue
Next
From: Tom Lane
Date:
Subject: Re: status after 7.1 and pgcrypto update / crypt(table.field) ?