zpbit_in does not receive correct atttypmod

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: zpbit_in does not receive correct atttypmod
Date: 2001-04-26 21:09:29
Message-ID: Pine.LNX.4.30.0104262306520.758-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-04-26 22:24:10 Re: status after 7.1 and pgcrypto update / crypt(table.field) ?
Previous Message Marko Kreen 2001-04-26 20:32:27 Re: crypt(table.field) ?