Re: [HACKERS] defalut value

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] defalut value
Date: 1999-05-12 15:30:00
Message-ID: 37399E78.7F8B76A3@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I think somehow, somewhere, the size of the default value is getting
> used instead of the size of the field itself. Weird. Is it specific
> to char(n), perhaps? That might help explain how the bug got past
> the regression tests.

I'm pretty sure it is specific to char(n), and it is due to the 4 byte
difference in length between the string and the storage. When we fix
this one we will also fix the "c char(2) default ''" problem too.

In fact, I could have sworn I already had looked at it. Oh well.

- Tom

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-05-12 15:58:16 Re: [HACKERS] Re: [SQL] plpgsql error
Previous Message Jan Wieck 1999-05-12 15:29:14 Re: [HACKERS] Update Open Items list