Skip to content

Commit b3341dd

Browse files
committed
Mark 'line' as 'not implemented' in SGML and psql \dT, per Thomas
Lockhart. initdb not forced.
1 parent 7fb9b5d commit b3341dd

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.93 2002/06/11 15:32:32 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.94 2002/07/16 03:30:26 momjian Exp $
33
-->
44

55
<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
143143
<row>
144144
<entry><type>line</type></entry>
145145
<entry></entry>
146-
<entry>infinite line in 2D plane</entry>
146+
<entry>infinite line in 2D plane (not implemented)</entry>
147147
</row>
148148

149149
<row>
@@ -2247,7 +2247,7 @@ SELECT * FROM test1 WHERE a;
22472247
<entry><type>line</type></entry>
22482248
<entry>32 bytes</entry>
22492249
<entry>((x1,y1),(x2,y2))</entry>
2250-
<entry>Infinite line</entry>
2250+
<entry>Infinite line (not implemented)</entry>
22512251
</row>
22522252
<row>
22532253
<entry><type>lseg</type></entry>

src/backend/utils/adt/geo_ops.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.62 2002/06/20 20:29:37 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.63 2002/07/16 03:30:27 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -815,6 +815,7 @@ line_in(PG_FUNCTION_ARGS)
815815
LINE *line;
816816

817817
#ifdef ENABLE_LINE_TYPE
818+
/* when fixed, modify "not implemented", catalog/pg_type.h and SGML */
818819
LSEG lseg;
819820
int isopen;
820821
char *s;
@@ -843,6 +844,7 @@ line_out(PG_FUNCTION_ARGS)
843844
char *result;
844845

845846
#ifdef ENABLE_LINE_TYPE
847+
/* when fixed, modify "not implemented", catalog/pg_type.h and SGML */
846848
LSEG lseg;
847849

848850
if (FPzero(line->B))

src/include/catalog/pg_type.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $Id: pg_type.h,v 1.123 2002/06/20 20:29:49 momjian Exp $
11+
* $Id: pg_type.h,v 1.124 2002/07/16 03:30:27 momjian Exp $
1212
*
1313
* NOTES
1414
* the genbki.sh script reads this file and generates .bki
@@ -344,7 +344,7 @@ DESCR("geometric polygon '(pt1,...)'");
344344
#define POLYGONOID 604
345345

346346
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_ ));
347-
DESCR("geometric line '(pt1,pt2)'");
347+
DESCR("geometric line (not implemented)'");
348348
#define LINEOID 628
349349
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_ ));
350350
DESCR("");

0 commit comments

Comments
 (0)