From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: how to determine which types take a length argument |
Date: | 2006-08-09 17:54:58 |
Message-ID: | 20060809175458.GO22329@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Aug 09, 2006 at 01:20:41PM -0400, Robert Treat wrote:
> Both time and varchar take an argument, but they have different typlen values.
> I don't think the docs are wrong here, I think they just don't tell me what I
> am looking for.
Oh, you're referring to typmod values. All those are defined by the
grammer directly, special cased (which is what we want to change). They
should be documented somewhere, but they'd all be expantions of the
ConstTypename in the grammer.
Offhand I can see:
FLOAT, DECIMAL, DEC, NUMERIC, BIT, BIT VARYING and all the char/varchar
types.
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
From | Date | Subject | |
---|---|---|---|
Next Message | Jonah H. Harris | 2006-08-09 17:58:14 | Re: new job |
Previous Message | Devrim GUNDUZ | 2006-08-09 17:40:50 | Re: new job |