Update char_length() example for new semantics.
This commit is contained in:
parent
f27976c85b
commit
e1826d037a
@ -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">
|
<chapter id="datatype">
|
||||||
@ -958,7 +958,7 @@ SELECT a, char_length(a) FROM test1; -- <co id="co.datatype-char">
|
|||||||
<computeroutput>
|
<computeroutput>
|
||||||
a | char_length
|
a | char_length
|
||||||
------+-------------
|
------+-------------
|
||||||
ok | 4
|
ok | 2
|
||||||
</computeroutput>
|
</computeroutput>
|
||||||
|
|
||||||
CREATE TABLE test2 (b varchar(5));
|
CREATE TABLE test2 (b varchar(5));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user