I almost forgot mark in docs "to_char(interval)" as deprecated function.

This useless routine will removed in 7.5. It's already discussed (see
hackers list archive).

Karel Zak
This commit is contained in:
Bruce Momjian 2003-08-17 04:52:41 +00:00
parent 7f5079db98
commit a9f9a97906

View file

@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.166 2003/08/10 01:20:34 tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.167 2003/08/17 04:52:41 momjian Exp $
PostgreSQL documentation
-->
@ -3870,6 +3870,11 @@ substring('foobar' from 'o(.)b') <lineannotation>o</lineannotation>
</tgroup>
</table>
<para>
Warning. <literal><function>to_char</function>(<type>interval</type>, <type>text</type>)</literal>
is deprecated and should not be used in newly-written code. Will be removed in the next version.
</para>
<para>
In an output template string (for <function>to_char</>), there are certain patterns that are
recognized and replaced with appropriately-formatted data from the value