Function ascii(text) character -> byte

From: Ian Barwick <barwick(at)gmx(dot)net>
To: "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org>
Subject: Function ascii(text) character -> byte
Date: 2006-03-02 16:54:59
Message-ID: 200603021754.59986.barwick@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hi

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).

Regards

Ian Barwick

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2006-03-02 19:16:23 Re: [HACKERS] Online backup vs Continuous backup
Previous Message Amit Kulkarni 2006-03-02 14:40:07 Interactive comments for major versions