pgsql: in the docs, the function "ascii(text)" is described as returning

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: in the docs, the function "ascii(text)" is described as returning
Date: 2006-03-06 04:53:51
Message-ID: 20060306045351.2A30B9DCC08@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Modified Files:
--------------
pgsql/doc/src/sgml:
func.sgml (r1.308 -> r1.309)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml.diff?r1=1.308&r2=1.309)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-03-06 05:14:19 pgsql: Prevent autovacuum from zeroing damaged pages.
Previous Message Bruce Momjian 2006-03-06 04:45:21 pgsql: In psql, save history of backslash commands used in multi-line