Re: [HACKERS] char(8) vs char8 - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: [HACKERS] char(8) vs char8
Date
Msg-id m0ya1YL-000035C@druid.net
Whole thread Raw
In response to Re: [HACKERS] char(8) vs char8  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
Thus spake Thomas G. Lockhart
> > string 'abc' would return 'abc' as expected.  Now, with char(8), I get
> > back 'abc     ' instead.  You can see this with my PygreSQL module
> The behavior you want is varchar() rather than char().

Right.  Dump and reload time I guess.  >:-/

--
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.

pgsql-hackers by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] char(8) vs char8
Next
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] mmap and MAP_ANON