Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d40942

Browse files
committed
in the docs, the function "ascii(text)" is described as
returning "ASCII code of the first character of the argument"(seehttp://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 theargument",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 anASCIIcode).Ian Barwick
1 parentca8f279 commit7d40942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.308 2006/03/03 22:02:07 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.309 2006/03/06 04:53:50 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -1249,7 +1249,7 @@ PostgreSQL documentation
12491249
<row>
12501250
<entry><literal><function>ascii</function>(<type>text</type>)</literal></entry>
12511251
<entry><type>int</type></entry>
1252-
<entry><acronym>ASCII</acronym> code of the firstcharacter of the argument</entry>
1252+
<entry><acronym>ASCII</acronym> code of the firstbyte of the argument</entry>
12531253
<entry><literal>ascii('x')</literal></entry>
12541254
<entry><literal>120</literal></entry>
12551255
</row>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp