aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-02-01 06:55:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-02-01 06:55:07 +0000
commite1826d037a8479a350f8d846c06edfdd2b02944f (patch)
treee4e434221321f2bceaa9cbe7457e5c80e085e7ba
parentf27976c85b1fb9002727cce65b9f9567e158f754 (diff)
downloadpostgresql-e1826d037a8479a350f8d846c06edfdd2b02944f.tar.gz
postgresql-e1826d037a8479a350f8d846c06edfdd2b02944f.zip
Update char_length() example for new semantics.
-rw-r--r--doc/src/sgml/datatype.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index bcfe1690588..2689349b8f5 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.141 2004/02/01 06:27:48 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.142 2004/02/01 06:55:07 tgl Exp $
-->
<chapter id="datatype">
@@ -958,7 +958,7 @@ SELECT a, char_length(a) FROM test1; -- <co id="co.datatype-char">
<computeroutput>
a | char_length
------+-------------
- ok | 4
+ ok | 2
</computeroutput>
CREATE TABLE test2 (b varchar(5));