mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
PATH and POLYGON datatypes are now TOASTable. Associated functions
updated to new fmgr style. Deleted hoary old functions for compatibility with pre-6.1 representations of these datatypes.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.31 2000/07/14 15:26:21 thomas Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.32 2000/07/29 18:45:51 tgl Exp $
|
||||
-->
|
||||
|
||||
<chapter id="datatype">
|
||||
@ -1641,13 +1641,6 @@ January 8 04:05:06 1999 PST
|
||||
|
||||
<para>
|
||||
Paths are output using the first syntax.
|
||||
Note that <productname>Postgres</productname> versions prior to
|
||||
v6.1 used a format for paths which had a single leading parenthesis,
|
||||
a "closed" flag,
|
||||
an integer count of the number of points, then the list of points followed by a
|
||||
closing parenthesis.
|
||||
The built-in function <function>upgradepath</function> is supplied to convert
|
||||
paths dumped and reloaded from pre-v6.1 databases.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
@ -1687,12 +1680,6 @@ January 8 04:05:06 1999 PST
|
||||
|
||||
<para>
|
||||
Polygons are output using the first syntax.
|
||||
Note that <productname>Postgres</productname> versions prior to
|
||||
v6.1 used a format for polygons which had a single leading parenthesis, the list
|
||||
of x-axis coordinates, the list of y-axis coordinates,
|
||||
followed by a closing parenthesis.
|
||||
The built-in function <function>upgradepoly</function> is supplied to convert
|
||||
polygons dumped and reloaded from pre-v6.1 databases.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
|
@ -1423,48 +1423,6 @@ Not defined by this name. Implements the intersection operator '#'
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<table tocentry="1">
|
||||
<title>Geometric Upgrade Functions</title>
|
||||
<tgroup cols="4">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Function</entry>
|
||||
<entry>Returns</entry>
|
||||
<entry>Description</entry>
|
||||
<entry>Example</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>isoldpath(path)</entry>
|
||||
<entry>path</entry>
|
||||
<entry>test path for pre-v6.1 form</entry>
|
||||
<entry>isoldpath('(1,3,0,0,1,1,2,0)'::path)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>revertpoly(polygon)</entry>
|
||||
<entry>polygon</entry>
|
||||
<entry>to pre-v6.1</entry>
|
||||
<entry>revertpoly('((0,0),(1,1),(2,0))'::polygon)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>upgradepath(path)</entry>
|
||||
<entry>path</entry>
|
||||
<entry>to pre-v6.1</entry>
|
||||
<entry>upgradepath('(1,3,0,0,1,1,2,0)'::path)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>upgradepoly(polygon)</entry>
|
||||
<entry>polygon</entry>
|
||||
<entry>to pre-v6.1</entry>
|
||||
<entry>upgradepoly('(0,1,2,0,1,0)'::polygon)</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
|
Reference in New Issue
Block a user