Skip to content

Commit 6853a37

Browse files
author
Neil Conway
committed
Minor consistency improvement to the documentation on array functions.
1 parent 2662d0f commit 6853a37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/func.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.244 2005/04/01 14:25:22 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.245 2005/04/13 00:20:10 neilc Exp $
33
PostgreSQL documentation
44
-->
55

@@ -6981,7 +6981,7 @@ SELECT NULLIF(value, '(none)') ...
69816981
</entry>
69826982
<entry><type>text</type></entry>
69836983
<entry>returns a text representation of array's dimensions</entry>
6984-
<entry><literal>array_dims(array[[1,2,3], [4,5,6]])</literal></entry>
6984+
<entry><literal>array_dims(ARRAY[[1,2,3], [4,5,6]])</literal></entry>
69856985
<entry><literal>[1:2][1:3]</literal></entry>
69866986
</row>
69876987
<row>
@@ -7017,7 +7017,7 @@ SELECT NULLIF(value, '(none)') ...
70177017
</entry>
70187018
<entry><type>text</type></entry>
70197019
<entry>concatenates array elements using provided delimiter</entry>
7020-
<entry><literal>array_to_string(array[1, 2, 3], '~^~')</literal></entry>
7020+
<entry><literal>array_to_string(ARRAY[1, 2, 3], '~^~')</literal></entry>
70217021
<entry><literal>1~^~2~^~3</literal></entry>
70227022
</row>
70237023
<row>
@@ -7029,7 +7029,7 @@ SELECT NULLIF(value, '(none)') ...
70297029
</entry>
70307030
<entry><type>text[]</type></entry>
70317031
<entry>splits string into array elements using provided delimiter</entry>
7032-
<entry><literal>string_to_array( 'xx~^~yy~^~zz', '~^~')</literal></entry>
7032+
<entry><literal>string_to_array('xx~^~yy~^~zz', '~^~')</literal></entry>
70337033
<entry><literal>{xx,yy,zz}</literal></entry>
70347034
</row>
70357035
</tbody>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy