X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4F8AC9DCAE3 for ; Mon, 6 Mar 2006 00:53:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96464-04 for ; Mon, 6 Mar 2006 00:53:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 12A909DC892 for ; Mon, 6 Mar 2006 00:53:42 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id k264rgD12174; Sun, 5 Mar 2006 23:53:42 -0500 (EST) From: Bruce Momjian Message-Id: <200603060453.k264rgD12174@candle.pha.pa.us> Subject: Re: Function ascii(text) character -> byte In-Reply-To: <200603021754.59986.barwick@gmx.net> To: Ian Barwick Date: Sun, 5 Mar 2006 23:53:42 -0500 (EST) CC: "pgsql-docs@postgresql.org" X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.439 required=5 tests=[AWL=-0.061, RAZOR2_CHECK=0.5] X-Spam-Score: 0.439 X-Spam-Level: X-Archive-Number: 200603/9 X-Sequence-Number: 3466 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. +