Re: [GENERAL] Postgres char type inconsistency

2014-11-06 Thread Adrian Klaver
On 11/04/2014 10:43 AM, Brent Wood wrote: Looking at the behaviour of char & varchar types, there seems to be an issue. Can anyone explain this behaviour? Is there a bug of some sort? According to the docs http://www.postgresql.org/docs/9.3/static/datatype-character.html)(: " If the string to b

Re: [GENERAL] Postgres char type inconsistency

2014-11-06 Thread Bill Moran
On Tue, 4 Nov 2014 18:43:38 + Brent Wood wrote: > > Looking at the behaviour of char & varchar types, there seems to be an issue. > Can anyone explain this behaviour? Is there a bug of some sort? > > According to the docs > http://www.postgresql.org/docs/9.3/static/datatype-character.html

[GENERAL] Postgres char type inconsistency

2014-11-06 Thread Brent Wood
Looking at the behaviour of char & varchar types, there seems to be an issue. Can anyone explain this behaviour? Is there a bug of some sort? According to the docs http://www.postgresql.org/docs/9.3/static/datatype-character.html)(: " If the string to be stored is shorter than the declared leng