aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-03-06 04:53:50 +0000
committerBruce Momjian <bruce@momjian.us>2006-03-06 04:53:50 +0000
commit7d40942a2724435d1ef4764e80f03b89260ffbfd (patch)
tree1e1e0490914c12a27e7895f972cc497eb91a454e
parentca8f27998a789af126bbd938c10b160b052a57a7 (diff)
downloadpostgresql-7d40942a2724435d1ef4764e80f03b89260ffbfd.tar.gz
postgresql-7d40942a2724435d1ef4764e80f03b89260ffbfd.zip
in the docs, the function "ascii(text)" is described as
returning "ASCII code of the first character of the argument" (see http://www.postgresql.org/docs/8.1/interactive/functions-string.html, Table 9-6. "Other String Functions"). Presumably this should read "ASCII code of the first byte of the argument", which is what is returned when the argument is a multi-byte character (although then with UTF-8 at least that might not necessarily be an ASCII code). Ian Barwick
-rw-r--r--doc/src/sgml/func.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 7d18f976021..eff243d73aa 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.308 2006/03/03 22:02:07 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.309 2006/03/06 04:53:50 momjian Exp $
PostgreSQL documentation
-->
@@ -1249,7 +1249,7 @@ PostgreSQL documentation
<row>
<entry><literal><function>ascii</function>(<type>text</type>)</literal></entry>
<entry><type>int</type></entry>
- <entry><acronym>ASCII</acronym> code of the first character of the argument</entry>
+ <entry><acronym>ASCII</acronym> code of the first byte of the argument</entry>
<entry><literal>ascii('x')</literal></entry>
<entry><literal>120</literal></entry>
</row>