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

Commit9cc3d61

Browse files
committed
Doc: fix parameter names in the docs of a couple of functions.
The descriptions of make_interval() and pg_options_to_table()were randomly different from the reality embedded in pg_proc.(These are not all the discrepancies I found in a quick search,but the others perhaps require more discussion, since there'sat least a case to be made for changing pg_proc not the docs.)make_interval issue noted by Thomas Kellerer.Discussion:https://postgr.es/m/7b154ef0-9f22-90b9-7734-4bf23686695b@gmx.net
1 parent2453ea1 commit9cc3d61

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8960,13 +8960,13 @@ SELECT regexp_match('abc01234xyz', '(?:(.*?)(\d+)(.*)){1,1}');
89608960
<entry role="func_table_entry"><para role="func_signature"><indexterm>
89618961
<primary>make_interval</primary>
89628962
</indexterm>
8963-
<function>make_interval</function> ( <optional> <parameter>year</parameter> <type>int</type>
8964-
<optional>, <parameter>month</parameter> <type>int</type>
8965-
<optional>, <parameter>week</parameter> <type>int</type>
8966-
<optional>, <parameter>day</parameter> <type>int</type>
8967-
<optional>, <parameter>hour</parameter> <type>int</type>
8968-
<optional>, <parameter>min</parameter> <type>int</type>
8969-
<optional>, <parameter>sec</parameter> <type>double precision</type>
8963+
<function>make_interval</function> ( <optional> <parameter>years</parameter> <type>int</type>
8964+
<optional>, <parameter>months</parameter> <type>int</type>
8965+
<optional>, <parameter>weeks</parameter> <type>int</type>
8966+
<optional>, <parameter>days</parameter> <type>int</type>
8967+
<optional>, <parameter>hours</parameter> <type>int</type>
8968+
<optional>, <parameter>mins</parameter> <type>int</type>
8969+
<optional>, <parameter>secs</parameter> <type>double precision</type>
89708970
</optional></optional></optional></optional></optional></optional></optional> )
89718971
<returnvalue>interval</returnvalue>
89728972
</para>
@@ -22416,7 +22416,7 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
2241622416
<indexterm>
2241722417
<primary>pg_options_to_table</primary>
2241822418
</indexterm>
22419-
<function>pg_options_to_table</function> ( <parameter>reloptions</parameter> <type>text[]</type> )
22419+
<function>pg_options_to_table</function> ( <parameter>options_array</parameter> <type>text[]</type> )
2242022420
<returnvalue>setof record</returnvalue>
2242122421
( <parameter>option_name</parameter> <type>text</type>,
2242222422
<parameter>option_value</parameter> <type>text</type> )

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp