From: | "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Andreas(dot)Zeugswetter(at)telecom(dot)at, pgsql-hackers(at)hub(dot)org |
Subject: | Re: AW: [HACKERS] Re: atttypmod of 0 |
Date: | 1998-02-07 02:18:27 |
Message-ID: | 34DBC472.8ABE81FA@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
> >
> > If it fixes problems, now is the time :)
>
> Well, right now, since it is not being used from anything by char() and
> varchar(), it is not a problem. But it will have to be changed when we
> use it for other types.
>
> So do we change it now?
If it make things more self-consistant, now is the time :)
I would consider all of this related to or a followup on the char/varchar
work done earlier.
- Tom
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-02-07 02:31:20 | Re: AW: [HACKERS] Re: atttypmod of 0 |
Previous Message | Bruce Momjian | 1998-02-07 02:11:47 | Re: AW: [HACKERS] Re: atttypmod of 0 |