Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9bc57c6

Browse files
committed
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 abox) two lines further down.Patch2:Anyways, these two functions take a path (602) whereas in pg_proc.h they arelisted as taking a lseg (601).
1 parentd45dfd0 commit9bc57c6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/include/catalog/pg_operator.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_operator.h,v 1.26 1998/03/01 08:10:34 thomas Exp $
10+
* $Id: pg_operator.h,v 1.27 1998/03/02 06:12:10 scrappy Exp $
1111
*
1212
* NOTES
1313
* 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
284284
DATA(insertOID=611 ("<="PGUID0btf26261661261000int4leintltselintltjoinsel ));
285285
DATA(insertOID=612 (">="PGUID0btf26261661160900int4geintgtselintgtjoinsel ));
286286

287-
DATA(insertOID=613 ("<->"PGUID0btf6006037010000dist_pl-- ));
287+
DATA(insertOID=613 ("<->"PGUID0btf6006287010000dist_pl-- ));
288288
DATA(insertOID=614 ("<->"PGUID0btf6006017010000dist_ps-- ));
289289
DATA(insertOID=615 ("<->"PGUID0btf6006037010000dist_pb-- ));
290290
DATA(insertOID=616 ("<->"PGUID0btf6016287010000dist_sl-- ));

‎src/include/catalog/pg_proc.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: pg_proc.h,v 1.47 1998/02/26 04:40:59 momjian Exp $
9+
* $Id: pg_proc.h,v 1.48 1998/03/02 06:12:15 scrappy Exp $
1010
*
1111
* NOTES
1212
* The script catalog/genbki.sh reads this file and generates .bki
@@ -1804,9 +1804,9 @@ DATA(insert OID = 1424 ( box_mulPGUID 11 f t f 2 f 603 "603 600" 100 0 0 100
18041804
DESCR("multiply box by point (scale)");
18051805
DATA(insertOID=1425 (box_divPGUID11ftf2f603"603 600"10000100foobar ));
18061806
DESCR("divide box by point (scale)");
1807-
DATA(insertOID=1426 (path_contain_ptPGUID11ftf2f16"601 600"10000100foobar ));
1807+
DATA(insertOID=1426 (path_contain_ptPGUID11ftf2f16"602 600"10000100foobar ));
18081808
DESCR("path contains point?");
1809-
DATA(insertOID=1427 (pt_contained_pathPGUID11ftf2f16"600601"10000100foobar ));
1809+
DATA(insertOID=1427 (pt_contained_pathPGUID11ftf2f16"600602"10000100foobar ));
18101810
DESCR("point contained in path?");
18111811
DATA(insertOID=1428 (poly_contain_ptPGUID11ftf2f16"604 600"10000100foobar ));
18121812
DESCR("polygon contains point?");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp