Re: AW: [HACKERS] Re: atttypmod of 0 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: AW: [HACKERS] Re: atttypmod of 0
Date
Msg-id 199802070609.BAA14472@candle.pha.pa.us
Whole thread Raw
In response to Re: AW: [HACKERS] Re: atttypmod of 0  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
>
> >
> > Yes, I think to change atttypmod to default to -1 would be the right
> > thing,
> > since the empty string '' really has a length of 0,
> > We could think of -1 as: We don't know how long this field will be.
> > 0 would mean the field has 0 bytes.
>
> Do people want atttypmod at -1 at this time?  It will require a
> dump/reload.

OK, atttypmod now defaults to -1.   Initdb everyone.

--
Bruce Momjian
maillist@candle.pha.pa.us

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Majordomo results: Re: [HACKERS] Bug? (fwd)
Next
From: The Hermit Hacker
Date:
Subject: Re: Majordomo results: Re: [HACKERS] Bug? (fwd)