pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedFunction ascii(text) character -> byte
2+ messages / 2 participants
[nested] [flat]
* Function ascii(text) character -> byte
@ 2006-03-02 16:54 Ian Barwick <barwick@gmx.net>
0 siblings, 1 reply; 2+ messages in thread
From: Ian Barwick @ 2006-03-02 16:54 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Function ascii(text) character -> byte
@ 2006-03-06 04:53 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Ian Barwick <barwick@gmx.net>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2006-03-06 04:53 UTC (permalink / raw)
To: Ian Barwick <barwick@gmx.net>; +Cc: pgsql-docs
Patch applied. Thanks. Your documentation changes can be viewed in
five minutes using links on the developer's page,
http://www.postgresql.org/developer/testing.
---------------------------------------------------------------------------
Ian Barwick wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com
+ If your life is a hard drive, Christ can be your backup. +
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-03-06 04:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-02 16:54 Function ascii(text) character -> byte Ian Barwick <barwick@gmx.net>
2006-03-06 04:53 ` Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox