@@ -14617,7 +14617,7 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n);
14617
14617
<row>
14618
14618
<entry><literal><function>version()</function></literal></entry>
14619
14619
<entry><type>text</type></entry>
14620
- <entry><productname>PostgreSQL</> version information</entry>
14620
+ <entry><productname>PostgreSQL</> version information. See also <xref linkend="guc-server-version-num"> for a machine-readable version. </entry>
14621
14621
</row>
14622
14622
</tbody>
14623
14623
</tgroup>
@@ -14804,7 +14804,12 @@ SET search_path TO <replaceable>schema</> <optional>, <replaceable>schema</>, ..
14804
14804
14805
14805
<para>
14806
14806
<function>version</function> returns a string describing the
14807
- <productname>PostgreSQL</productname> server's version.
14807
+ <productname>PostgreSQL</productname> server's version. You can also
14808
+ get this information from <xref linkend="guc-server-version"> or
14809
+ for a machine-readable version, <xref linkend="guc-server-version-num">.
14810
+ Software developers should use <literal>server_version_num</literal>
14811
+ (available since 8.2) or <xref linkend="libpq-pqserverversion"> instead
14812
+ of parsing the text version.
14808
14813
</para>
14809
14814
14810
14815
<indexterm>