@@ -2859,6 +2859,22 @@ repeat('Pg', 4) <returnvalue>PgPgPgPg</returnvalue>
2859
2859
</para></entry>
2860
2860
</row>
2861
2861
2862
+ <row>
2863
+ <entry role="func_table_entry"><para role="func_signature">
2864
+ <indexterm>
2865
+ <primary>unicode_assigned</primary>
2866
+ </indexterm>
2867
+ <function>unicode_assigned</function> ( <type>text</type> )
2868
+ <returnvalue>text</returnvalue>
2869
+ </para>
2870
+ <para>
2871
+ Returns <literal>true</literal> if all characters in the string are
2872
+ assigned Unicode codepoints; <literal>false</literal> otherwise. This
2873
+ function can only be used when the server encoding is
2874
+ <literal>UTF8</literal>.
2875
+ </para></entry>
2876
+ </row>
2877
+
2862
2878
<row>
2863
2879
<entry role="func_table_entry"><para role="func_signature">
2864
2880
<indexterm>
@@ -23427,25 +23443,6 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n);
23427
23443
This is equivalent to <function>current_user</function>.
23428
23444
</para></entry>
23429
23445
</row>
23430
-
23431
- <row>
23432
- <entry role="func_table_entry"><para role="func_signature">
23433
- <indexterm>
23434
- <primary>version</primary>
23435
- </indexterm>
23436
- <function>version</function> ()
23437
- <returnvalue>text</returnvalue>
23438
- </para>
23439
- <para>
23440
- Returns a string describing the <productname>PostgreSQL</productname>
23441
- server's version. You can also get this information from
23442
- <xref linkend="guc-server-version"/>, or for a machine-readable
23443
- version use <xref linkend="guc-server-version-num"/>. Software
23444
- developers should use <varname>server_version_num</varname> (available
23445
- since 8.2) or <xref linkend="libpq-PQserverVersion"/> instead of
23446
- parsing the text version.
23447
- </para></entry>
23448
- </row>
23449
23446
</tbody>
23450
23447
</tgroup>
23451
23448
</table>
@@ -26332,6 +26329,80 @@ SELECT collation for ('foo' COLLATE "de_DE");
26332
26329
26333
26330
</sect2>
26334
26331
26332
+ <sect2 id="functions-info-version">
26333
+ <title>Version Information Functions</title>
26334
+
26335
+ <para>
26336
+ The functions shown in <xref linkend="functions-version"/>
26337
+ print version information.
26338
+ </para>
26339
+
26340
+ <table id="functions-version">
26341
+ <title>Version Information Functions</title>
26342
+ <tgroup cols="1">
26343
+ <thead>
26344
+ <row>
26345
+ <entry role="func_table_entry"><para role="func_signature">
26346
+ Function
26347
+ </para>
26348
+ <para>
26349
+ Description
26350
+ </para></entry>
26351
+ </row>
26352
+ </thead>
26353
+
26354
+ <tbody>
26355
+ <row>
26356
+ <entry role="func_table_entry"><para role="func_signature">
26357
+ <indexterm>
26358
+ <primary>version</primary>
26359
+ </indexterm>
26360
+ <function>version</function> ()
26361
+ <returnvalue>text</returnvalue>
26362
+ </para>
26363
+ <para>
26364
+ Returns a string describing the <productname>PostgreSQL</productname>
26365
+ server's version. You can also get this information from
26366
+ <xref linkend="guc-server-version"/>, or for a machine-readable
26367
+ version use <xref linkend="guc-server-version-num"/>. Software
26368
+ developers should use <varname>server_version_num</varname> (available
26369
+ since 8.2) or <xref linkend="libpq-PQserverVersion"/> instead of
26370
+ parsing the text version.
26371
+ </para></entry>
26372
+ </row>
26373
+
26374
+ <row>
26375
+ <entry role="func_table_entry"><para role="func_signature">
26376
+ <indexterm>
26377
+ <primary>unicode_version</primary>
26378
+ </indexterm>
26379
+ <function>unicode_version</function> ()
26380
+ <returnvalue>text</returnvalue>
26381
+ </para>
26382
+ <para>
26383
+ Returns a string representing the version of Unicode used by
26384
+ <productname>PostgreSQL</productname>.
26385
+ </para></entry>
26386
+ </row>
26387
+ <row>
26388
+ <entry role="func_table_entry"><para role="func_signature">
26389
+ <indexterm>
26390
+ <primary>icu_unicode_version</primary>
26391
+ </indexterm>
26392
+ <function>icu_unicode_version</function> ()
26393
+ <returnvalue>text</returnvalue>
26394
+ </para>
26395
+ <para>
26396
+ Returns a string representing the version of Unicode used by ICU, if
26397
+ the server was built with ICU support; otherwise returns
26398
+ <literal>NULL</literal> </para></entry>
26399
+ </row>
26400
+ </tbody>
26401
+ </tgroup>
26402
+ </table>
26403
+
26404
+ </sect2>
26405
+
26335
26406
</sect1>
26336
26407
26337
26408
<sect1 id="functions-admin">
0 commit comments