Re: [HACKERS] Error in char(n) example in documentation

2015-11-10 Thread Tom Lane
Peter Geoghegan writes: > I think that this example in the docs [1] is wrong: Yeah, you're quite right. Pushed. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mail

[HACKERS] Error in char(n) example in documentation

2015-11-10 Thread Peter Geoghegan
I think that this example in the docs [1] is wrong: """ Values of type character are physically padded with spaces to the specified width n, and are stored and displayed that way. However, trailing spaces are treated as semantically insignificant and disregarded when comparing two values of type c