diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-08-17 04:52:41 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-08-17 04:52:41 +0000 |
commit | a9f9a9790618f65af3373327c14596a7c3961c36 (patch) | |
tree | f7e01e0913bc17ddff39d931abf649dedac89b8b | |
parent | 7f5079db98935b8be652eca1898de72d88a94338 (diff) | |
download | postgresql-a9f9a9790618f65af3373327c14596a7c3961c36.tar.gz postgresql-a9f9a9790618f65af3373327c14596a7c3961c36.zip |
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
-rw-r--r-- | doc/src/sgml/func.sgml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 6729dc677e8..7fb101f90f5 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -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 --> @@ -3871,6 +3871,11 @@ substring('foobar' from 'o(.)b') <lineannotation>o</lineannotation> </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 to be formatted. Any text that is not a template pattern is simply |