Skip site navigation (1) Skip section navigation (2)

Re: Function ascii(text) character -> byte

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ian Barwick <barwick(at)gmx(dot)net>
Cc: "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Function ascii(text) character -> byte
Date: 2006-03-06 04:53:42
Message-ID: 200603060453.k264rgD12174@candle.pha.pa.us (view raw or flat)
Thread:
Lists: 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(at)postgresql(dot)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. +

In response to

pgsql-docs by date

Next:From: Jim C. NasbyDate: 2006-03-08 19:50:47
Subject: Get docs for contrib on the web somewhere
Previous:From: Bruce MomjianDate: 2006-03-05 05:00:35
Subject: Re: Format Documents

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group