mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Remove the last traces of datatypes datetime and timespan.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.91 2002/04/25 20:14:43 tgl Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.92 2002/05/03 04:11:07 tgl Exp $
|
||||
-->
|
||||
|
||||
<chapter id="datatype">
|
||||
@ -1340,24 +1340,10 @@ SELECT b, char_length(b) FROM test2;
|
||||
outside that range are in <acronym>UTC</acronym>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To ensure an upgrade path from versions of
|
||||
<productname>PostgreSQL</productname> earlier than 7.0,
|
||||
we recognize <type>datetime</type>
|
||||
(equivalent to <type>timestamp</type>) and
|
||||
<type>timespan</type> (equivalent to <type>interval</type>).
|
||||
These types are
|
||||
now restricted to having an
|
||||
implicit translation to <type>timestamp</type> and
|
||||
<type>interval</type>, and
|
||||
support for these will be removed in the next release of
|
||||
<productname>PostgreSQL</productname> (likely named 7.3).
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The types <type>abstime</type>
|
||||
and <type>reltime</type> are lower precision types which are used internally.
|
||||
You are discouraged from using any of these types in new
|
||||
You are discouraged from using these types in new
|
||||
applications and are encouraged to move any old
|
||||
ones over when appropriate. Any or all of these internal types
|
||||
might disappear in a future release.
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.57 2002/04/09 03:08:25 momjian Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/plsql.sgml,v 2.58 2002/05/03 04:11:07 tgl Exp $
|
||||
-->
|
||||
|
||||
<chapter id="plpgsql">
|
||||
@ -2744,7 +2744,7 @@ show errors
|
||||
package would become something like this:
|
||||
|
||||
<programlisting>
|
||||
CREATE FUNCTION acs__add_user(INTEGER,INTEGER,VARCHAR,DATETIME,INTEGER,INTEGER,...)
|
||||
CREATE FUNCTION acs__add_user(INTEGER,INTEGER,VARCHAR,TIMESTAMP,INTEGER,INTEGER,...)
|
||||
RETURNS INTEGER AS '
|
||||
DECLARE
|
||||
user_id ALIAS FOR $1;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.133 2002/04/18 20:01:08 tgl Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.134 2002/05/03 04:11:07 tgl Exp $
|
||||
-->
|
||||
|
||||
<appendix id="release">
|
||||
@ -24,6 +24,7 @@ CDATA means the content is "SGML-free", so you can write without
|
||||
worries about funny characters.
|
||||
-->
|
||||
<literallayout><![CDATA[
|
||||
The last vestiges of support for type names datetime and timespan are gone; use timestamp and interval instead
|
||||
Rule names are now per-relation, not global; DROP RULE and COMMENT ON RULE syntax changes accordingly
|
||||
Readline and Zlib are now required by default and must be turned off explicitly if their use is not desired
|
||||
Define a third class of function volatility to allow indexscans in more cases
|
||||
|
Reference in New Issue
Block a user