mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
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">
|
||||
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user