Re: [BUGS] Need some help: attlen is pg_attributes gives a negative value.. .

2000-05-03 Thread Tom Lane
Roland Roberts <[EMAIL PROTECTED]> writes: >> "Tom" == Tom Lane <[EMAIL PROTECTED]> writes: Tom> Must have been quite a few versions back; attlen has been -1 Tom> for variable-length datatypes for as long as I've been paying Tom> attention. (Of course char(n) isn't *really* variable length, To

Re: [BUGS] Need some help: attlen is pg_attributes gives a negative value.. .

2000-05-03 Thread Roland Roberts
> "Tom" == Tom Lane <[EMAIL PROTECTED]> writes: Tom> "Klein, Robert" <[EMAIL PROTECTED]> writes: >> [ attlen for a char(n) field is -1 ] >> I know in previous versions the length as defined in the create >> table statement was given. Any ideas? Tom> Must have been quite

Re: [BUGS] Need some help: attlen is pg_attributes gives a negative value.. .

2000-05-03 Thread Tom Lane
"Klein, Robert" <[EMAIL PROTECTED]> writes: > [ attlen for a char(n) field is -1 ] > I know in previous versions the length as defined in the create table > statement was given. Any ideas? Must have been quite a few versions back; attlen has been -1 for variable-length datatypes for as long as

RE: [BUGS] Need some help: attlen is pg_attributes gives a negative value.. .

2000-05-03 Thread Klein, Robert
I just answered my own question. atttypmod now holds this value. thanks, Rob -Original Message- From: Klein, Robert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 03, 2000 4:27 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [BUGS] Need some help: attlen is pg_attributes gives