Re: [HACKERS] attlen weirdness?

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: "Julia A(dot)Case" <julie(at)hub(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org, julie(at)MageNet(dot)com
Subject: Re: [HACKERS] attlen weirdness?
Date: 1998-03-11 13:11:48
Message-ID: Pine.NEB.3.95.980311081015.21420E-100000@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Bruce? Guys? Any word on this one? I *thought* I remembered reading
soething about the 'attlen' becoming -1, but just checked the mailing list
archives and couldn't find anything :(

Thanks...

On Tue, 10 Mar 1998, Julia A.Case wrote:

> I am using the following info to migrate a table from 6.2.1 to 6.3
>
> \connect template1
> drop database magecal;
> create database magecal;
> \connect magecal
> \connect - julie
> CREATE TABLE dates (id int4, date char(10), news char(1024)) archive = none;
> COPY dates FROM stdin;
> 1 1998Jan16 <H3>Calendar Created</H3> !
> !
> !
>
> \.
> CREATE INDEX dates_indx on dates using btree ( id int4_ops, date bpchar_ops );
>
>
> now if I connect to the database and do
>
> select attlen from pg_attribute where attname='news';
>
> I get
> -1
>
> This doesn't seem quite right.
>
> Julie
>
> --
> [ Julia Anne Case ] [ Ships are safe inside the harbor, ]
> [Programmer at large] [ but is that what ships are really for. ]
> [ Admining Linux ] [ To thine own self be true. ]
> [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-03-11 14:39:23 varchar() vs char16 performance
Previous Message Julia A.Case 1998-03-11 10:21:29 Re: [HACKERS] attlen weirdness?