OSDN Git Service

Mark 'line' as 'not implemented' in SGML and psql \dT, per Thomas
authorBruce Momjian <bruce@momjian.us>
Tue, 16 Jul 2002 03:30:27 +0000 (03:30 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 16 Jul 2002 03:30:27 +0000 (03:30 +0000)
Lockhart.  initdb not forced.

doc/src/sgml/datatype.sgml
src/backend/utils/adt/geo_ops.c
src/include/catalog/pg_type.h

index b087acd..573fe75 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.93 2002/06/11 15:32:32 thomas Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.94 2002/07/16 03:30:26 momjian Exp $
 -->
 
  <chapter id="datatype">
@@ -143,7 +143,7 @@ $Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.93 2002/06/11 15:32:32 th
       <row>
        <entry><type>line</type></entry>
        <entry></entry>
-       <entry>infinite line in 2D plane</entry>
+       <entry>infinite line in 2D plane (not implemented)</entry>
       </row>
 
       <row>
@@ -2247,7 +2247,7 @@ SELECT * FROM test1 WHERE a;
        <entry><type>line</type></entry>
        <entry>32 bytes</entry>
        <entry>((x1,y1),(x2,y2))</entry>
-       <entry>Infinite line</entry>
+       <entry>Infinite line (not implemented)</entry>
        </row>
        <row>
        <entry><type>lseg</type></entry>
index 2b2df7b..9fac9a8 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.62 2002/06/20 20:29:37 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.63 2002/07/16 03:30:27 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -815,6 +815,7 @@ line_in(PG_FUNCTION_ARGS)
        LINE       *line;
 
 #ifdef ENABLE_LINE_TYPE
+       /* when fixed, modify "not implemented", catalog/pg_type.h and SGML */
        LSEG            lseg;
        int                     isopen;
        char       *s;
@@ -843,6 +844,7 @@ line_out(PG_FUNCTION_ARGS)
        char       *result;
 
 #ifdef ENABLE_LINE_TYPE
+       /* when fixed, modify "not implemented", catalog/pg_type.h and SGML */
        LSEG            lseg;
 
        if (FPzero(line->B))
index deae773..da41ac6 100644 (file)
@@ -8,7 +8,7 @@
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_type.h,v 1.123 2002/06/20 20:29:49 momjian Exp $
+ * $Id: pg_type.h,v 1.124 2002/07/16 03:30:27 momjian Exp $
  *
  * NOTES
  *       the genbki.sh script reads this file and generates .bki
@@ -344,7 +344,7 @@ DESCR("geometric polygon '(pt1,...)'");
 #define POLYGONOID             604
 
 DATA(insert OID = 628 (  line     PGNSP PGUID 32  48 f b t \054 0 701 line_in line_out line_in line_out d p f 0 -1 0 _null_ _null_ ));
-DESCR("geometric line '(pt1,pt2)'");
+DESCR("geometric line (not implemented)'");
 #define LINEOID                        628
 DATA(insert OID = 629 (  _line    PGNSP PGUID  -1 -1 f b t \054 0 628 array_in array_out array_in array_out d x f 0 -1 0 _null_ _null_ ));
 DESCR("");