OSDN Git Service

Make length() disregard trailing spaces in char(n) values, per discussion
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Feb 2004 06:27:48 +0000 (06:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Feb 2004 06:27:48 +0000 (06:27 +0000)
commitf27976c85b1fb9002727cce65b9f9567e158f754
treea9f1424789b87795a21f0ae3453f49915c274681
parent08b0e605636d52bb8b2168dded694fe86f1acbea
Make length() disregard trailing spaces in char(n) values, per discussion
some time ago and recent patch from Gavin Sherry.  Update documentation
to point out that trailing spaces are insignificant in char(n).
doc/src/sgml/datatype.sgml
src/backend/utils/adt/varchar.c