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

Commitd6a35c8

Browse files
committed
Make function param_name/type documentation more consistent.
1 parent554608d commitd6a35c8

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.316 2006/04/30 21:15:32 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.317 2006/05/18 00:50:08 momjian Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -1244,7 +1244,7 @@
12441244

12451245
<tbody>
12461246
<row>
1247-
<entry><literal><function>ascii</function>(<type>text</type>)</literal></entry>
1247+
<entry><literal><function>ascii</function>(<type>string</type>)</literal></entry>
12481248
<entry><type>int</type></entry>
12491249
<entry><acronym>ASCII</acronym> code of the first byte of the argument</entry>
12501250
<entry><literal>ascii('x')</literal></entry>
@@ -1274,8 +1274,7 @@
12741274

12751275
<row>
12761276
<entry>
1277-
<literal><function>convert</function>(<parameter>string</parameter>
1278-
<type>text</type>,
1277+
<literal><function>convert</function>(<parameter>string</parameter> <type>text</type>,
12791278
<optional><parameter>src_encoding</parameter> <type>name</type>,</optional>
12801279
<parameter>dest_encoding</parameter> <type>name</type>)</literal>
12811280
</entry>
@@ -1320,7 +1319,7 @@
13201319
</row>
13211320

13221321
<row>
1323-
<entry><literal><function>initcap</function>(<type>text</type>)</literal></entry>
1322+
<entry><literal><function>initcap</function>(<type>string</type>)</literal></entry>
13241323
<entry><type>text</type></entry>
13251324
<entry>
13261325
Convert the first letter of each word to uppercase and the
@@ -1332,7 +1331,7 @@
13321331
</row>
13331332

13341333
<row>
1335-
<entry><literal><function>length</function>(<parameter>string</parameter> <type>text</type>)</literal></entry>
1334+
<entry><literal><function>length</function>(<parameter>string</parameter>)</literal></entry>
13361335
<entry><type>int</type></entry>
13371336
<entry>
13381337
Number of characters in <parameter>string</parameter>
@@ -1375,7 +1374,7 @@
13751374
</row>
13761375

13771376
<row>
1378-
<entry><literal><function>md5</function>(<parameter>string</parameter> <type>text</type>)</literal></entry>
1377+
<entry><literal><function>md5</function>(<parameter>string</parameter>)</literal></entry>
13791378
<entry><type>text</type></entry>
13801379
<entry>
13811380
Calculates the MD5 hash of <parameter>string</parameter>,
@@ -1396,7 +1395,7 @@
13961395
</row>
13971396

13981397
<row>
1399-
<entry><literal><function>quote_ident</function>(<parameter>string</parameter> text)</literal></entry>
1398+
<entry><literal><function>quote_ident</function>(<parameter>string</parameter>)</literal></entry>
14001399
<entry><type>text</type></entry>
14011400
<entry>
14021401
Return the given string suitably quoted to be used as an identifier
@@ -1410,7 +1409,7 @@
14101409
</row>
14111410

14121411
<row>
1413-
<entry><literal><function>quote_literal</function>(<parameter>string</parameter> text)</literal></entry>
1412+
<entry><literal><function>quote_literal</function>(<parameter>string</parameter>)</literal></entry>
14141413
<entry><type>text</type></entry>
14151414
<entry>
14161415
Return the given string suitably quoted to be used as a string literal
@@ -1511,12 +1510,12 @@
15111510
</row>
15121511

15131512
<row>
1514-
<entry><literal><function>to_ascii</function>(<type>text</type>
1515-
<optional>, <parameter>encoding</parameter></optional>)</literal></entry>
1513+
<entry><literal><function>to_ascii</function>(<parameter>string</parameter> <type>text</type>
1514+
<optional>, <parameter>encoding</parameter> <type>text</type></optional>)</literal></entry>
15161515
<entry><type>text</type></entry>
15171516

15181517
<entry>
1519-
Convert <parameter>text</parameter> to <acronym>ASCII</acronym> from another encoding
1518+
Convert <parameter>string</parameter> to <acronym>ASCII</acronym> from another encoding
15201519
<footnote>
15211520
<para>
15221521
The <function>to_ascii</function> function supports conversion from
@@ -1543,8 +1542,7 @@
15431542

15441543
<row>
15451544
<entry>
1546-
<literal><function>translate</function>(<parameter>string</parameter>
1547-
<type>text</type>,
1545+
<literal><function>translate</function>(<parameter>string</parameter> <type>text</type>,
15481546
<parameter>from</parameter> <type>text</type>,
15491547
<parameter>to</parameter> <type>text</type>)</literal>
15501548
</entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp