Skip to content

Commit ec8d3bd

Browse files
authored
Update xfunc.sgml
1 parent 1b1bfc6 commit ec8d3bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgresql/doc/src/sgml/xfunc.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,7 @@ SELECT mleast(10, -1, 5, 4.4);
16051605
array, as if you had written
16061606

16071607
<screen>
1608-
SELECT mleast(ARRAY[10, -1, 5, 4.4]); -- doesn't work
1608+
SELECT mleast(ARRAY[10, -1, 5, 4.4]); -&minus; doesn't work
16091609
</screen>
16101610

16111611
You can't actually write that, though &mdash; or at least, it will
@@ -1852,7 +1852,7 @@ SELECT foo(10);
18521852
15
18531853
(1 row)
18541854

1855-
SELECT foo(); -&minus; 因为第一个参数没有默认值,所以失败
1855+
SELECT foo(); -- 因为第一个参数没有默认值,所以失败
18561856
ERROR: function foo() does not exist
18571857
</screen>
18581858
<literal>=</literal>符号也可以用来代替关键字<literal>DEFAULT</literal>。

0 commit comments

Comments
 (0)