aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-03-02 06:12:15 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-03-02 06:12:15 +0000
commit9bc57c6665fcdb88c283f0d1ca5c035b6cbf9bbd (patch)
tree8a89cd6d16d655ac1313e2468cc15b391a0b235d /src
parentd45dfd0d65148f6f23c93179e52ce7a0c33d2b7c (diff)
downloadpostgresql-9bc57c6665fcdb88c283f0d1ca5c035b6cbf9bbd.tar.gz
postgresql-9bc57c6665fcdb88c283f0d1ca5c035b6cbf9bbd.zip
From: Darren King <darrenk@insightdist.com>
Patch1: Postgres thinks dist_pl (dist of a point to a line) is expecting a box (603) for the right arg, but it really should be a line (628). Otherwise the left & right args match those of dist_pb (dist of a point to a box) two lines further down. Patch2: Anyways, these two functions take a path (602) whereas in pg_proc.h they are listed as taking a lseg (601).
Diffstat (limited to 'src')
-rw-r--r--src/include/catalog/pg_operator.h4
-rw-r--r--src/include/catalog/pg_proc.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/include/catalog/pg_operator.h b/src/include/catalog/pg_operator.h
index 489f0e165f3..7259ae71fee 100644
--- a/src/include/catalog/pg_operator.h
+++ b/src/include/catalog/pg_operator.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_operator.h,v 1.26 1998/03/01 08:10:34 thomas Exp $
+ * $Id: pg_operator.h,v 1.27 1998/03/02 06:12:10 scrappy Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -284,7 +284,7 @@ DATA(insert OID = 610 ( ">" PGUID 0 b t f 26 26 16 609 611 0 0 int4gt i
DATA(insert OID = 611 ( "<=" PGUID 0 b t f 26 26 16 612 610 0 0 int4le intltsel intltjoinsel ));
DATA(insert OID = 612 ( ">=" PGUID 0 b t f 26 26 16 611 609 0 0 int4ge intgtsel intgtjoinsel ));
-DATA(insert OID = 613 ( "<->" PGUID 0 b t f 600 603 701 0 0 0 0 dist_pl - - ));
+DATA(insert OID = 613 ( "<->" PGUID 0 b t f 600 628 701 0 0 0 0 dist_pl - - ));
DATA(insert OID = 614 ( "<->" PGUID 0 b t f 600 601 701 0 0 0 0 dist_ps - - ));
DATA(insert OID = 615 ( "<->" PGUID 0 b t f 600 603 701 0 0 0 0 dist_pb - - ));
DATA(insert OID = 616 ( "<->" PGUID 0 b t f 601 628 701 0 0 0 0 dist_sl - - ));
diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h
index 3606242bcb2..ec1cc09a4e1 100644
--- a/src/include/catalog/pg_proc.h
+++ b/src/include/catalog/pg_proc.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_proc.h,v 1.47 1998/02/26 04:40:59 momjian Exp $
+ * $Id: pg_proc.h,v 1.48 1998/03/02 06:12:15 scrappy Exp $
*
* NOTES
* The script catalog/genbki.sh reads this file and generates .bki
@@ -1804,9 +1804,9 @@ DATA(insert OID = 1424 ( box_mul PGUID 11 f t f 2 f 603 "603 600" 100 0 0 100
DESCR("multiply box by point (scale)");
DATA(insert OID = 1425 ( box_div PGUID 11 f t f 2 f 603 "603 600" 100 0 0 100 foo bar ));
DESCR("divide box by point (scale)");
-DATA(insert OID = 1426 ( path_contain_pt PGUID 11 f t f 2 f 16 "601 600" 100 0 0 100 foo bar ));
+DATA(insert OID = 1426 ( path_contain_pt PGUID 11 f t f 2 f 16 "602 600" 100 0 0 100 foo bar ));
DESCR("path contains point?");
-DATA(insert OID = 1427 ( pt_contained_path PGUID 11 f t f 2 f 16 "600 601" 100 0 0 100 foo bar ));
+DATA(insert OID = 1427 ( pt_contained_path PGUID 11 f t f 2 f 16 "600 602" 100 0 0 100 foo bar ));
DESCR("point contained in path?");
DATA(insert OID = 1428 ( poly_contain_pt PGUID 11 f t f 2 f 16 "604 600" 100 0 0 100 foo bar ));
DESCR("polygon contains point?");