aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-07-16 03:30:27 +0000
committerBruce Momjian <bruce@momjian.us>2002-07-16 03:30:27 +0000
commitb3341ddbf2f4e849d770aa8682fedbf0a74a2980 (patch)
tree1e8ac2a4b7e5adc4be36e142273cc1e1f4b53a4f
parent7fb9b5d434a507864196c11e9f7f4b4ce5793151 (diff)
downloadpostgresql-b3341ddbf2f4e849d770aa8682fedbf0a74a2980.tar.gz
postgresql-b3341ddbf2f4e849d770aa8682fedbf0a74a2980.zip
Mark 'line' as 'not implemented' in SGML and psql \dT, per Thomas
Lockhart. initdb not forced.
-rw-r--r--doc/src/sgml/datatype.sgml6
-rw-r--r--src/backend/utils/adt/geo_ops.c4
-rw-r--r--src/include/catalog/pg_type.h4
3 files changed, 8 insertions, 6 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index b087acdfd7b..573fe75f362 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -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>
diff --git a/src/backend/utils/adt/geo_ops.c b/src/backend/utils/adt/geo_ops.c
index 2b2df7ba0db..9fac9a8e235 100644
--- a/src/backend/utils/adt/geo_ops.c
+++ b/src/backend/utils/adt/geo_ops.c
@@ -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))
diff --git a/src/include/catalog/pg_type.h b/src/include/catalog/pg_type.h
index deae773423e..da41ac67db3 100644
--- a/src/include/catalog/pg_type.h
+++ b/src/include/catalog/pg_type.h
@@ -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("");