Re: [HACKERS] how to determine which types take a length argument

2006-08-09 Thread Martijn van Oosterhout
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 a

Re: [HACKERS] how to determine which types take a length argument

2006-08-09 Thread Robert Treat
On Wednesday 09 August 2006 10:53, Martijn van Oosterhout wrote: > On Wed, Aug 09, 2006 at 10:44:22AM -0400, Robert Treat wrote: > > Is there a way to determine which datatypes take a length argument (eg. > > varchar, time, etc...) by looking in the system catalogs? pg_type doesnt > > seem to have

Re: [HACKERS] how to determine which types take a length argument

2006-08-09 Thread Martijn van Oosterhout
On Wed, Aug 09, 2006 at 10:44:22AM -0400, Robert Treat wrote: > Is there a way to determine which datatypes take a length argument (eg. > varchar, time, etc...) by looking in the system catalogs? pg_type doesnt seem > to have the info... or is there a single place in the back end code that > con