Re: [HACKERS] Re: varchar() troubles (fwd)

From: "Vadim B(dot) Mikheev" <vadim(at)sable(dot)krasnoyarsk(dot)su>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: lockhart(at)alumni(dot)caltech(dot)edu, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: varchar() troubles (fwd)
Date: 1998-01-18 08:30:11
Message-ID: 34C1BD93.63D378BC@sable.krasnoyarsk.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> OK, we have a new pg_attribute column called 'atttypmod' for
> 'type-specific modifier'. Currently, it is only used to hold the char
> and varchar length, but I am sure will be used soon for other types.

Nice!

>
> Here is the test:
>
> test=> insert into test values ('asdfasdfasdfasdfasdfadsfasdf11',3);
> INSERT 18282 1
> test=> select * from test;
> x |y
> --------------------+-
> asdfasdfasdfasdfasdf|3
> (1 row)
>
> 'attlen' was certainly a confusing double-used field that I am glad to
> return to single-use status.
>
> I will be installing the patch soon, and will then start on subselects
> in the parser. It will probably take me until Monday to finish that.

Ok.

Vadim

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim B. Mikheev 1998-01-18 09:25:28 Re: [HACKERS] PSQL man page patch
Previous Message Jan Vicherek 1998-01-18 06:21:32 non-SQL C interface ? (fwd)