Re: [BUGS] 7.4: CHAR padding inconsistency

2003-11-19 Thread William ZHANG
Bruce said: > How do other databases handle this? I have tried on MS SQL Server 2000 and Oracle 9i for Windows. SQL Server doesn't like character_length and || , so use len and + instead. Oracle doesn't like character_length either, use length. Hope the result may help. create table chartest(col

Re: [BUGS] 7.4: CHAR padding inconsistency

2003-11-19 Thread Bruce Momjian
Troels Arvin wrote: > Hello, > > I read about the padding-of-CHAR-values changes in the release notes for > 7.4. > > Making PostgreSQL less standard compliant is sad; I also disagree > with the statement that trimming of trailing white-space is what people > expect. > > What's worse, and this ma

[BUGS] 7.4: CHAR padding inconsistency

2003-11-19 Thread Troels Arvin
Hello, I read about the padding-of-CHAR-values changes in the release notes for 7.4. Making PostgreSQL less standard compliant is sad; I also disagree with the statement that trimming of trailing white-space is what people expect. What's worse, and this may be classified as an error: create tab