From: | Gautam H Thaker <gthaker(at)atl(dot)lmco(dot)com> |
---|---|
To: | "\"Thomas G(dot) Lockhart\"" <lockhart(at)alumni(dot)caltech(dot)edu> |
Cc: | hackers(at)postgresql(dot)org |
Subject: | actual patch for close_ps() [file: geo_ops.c] |
Date: | 1998-05-01 19:17:58 |
Message-ID: | 354A1FE6.B6393E12@atl.lmco.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Opps, did not include the actual patch in my last email:
Attached is my patch that fixes the routine close_ps().
I can try to fix other as I run into them, esp. for
line when line can be input. I tested my fix with:
-- try vertical lseg.
select '(1,1)'::point ## '((0,0),(0,2))'::lseg;
?column?
--------
(0,1)
(1 row)
-- try horizontal lseg.
select '(1,1)'::point ## '((0,2),(2,2))'::lseg;
?column?
--------
(1,2)
(1 row)
(both of above were returning wrong answers before.)
--
Gautam H. Thaker
Distributed Processing Lab; Lockheed Martin Adv. Tech. Labs
A&E 3W; 1 Federal Street; Camden, NJ 08102
609-338-3907, fax 609-338-4144 email: gthaker(at)atl(dot)lmco(dot)com
Attachment | Content-Type | Size |
---|---|---|
geo_ops.c.patch | text/plain | 2.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Park, Chul-Su | 1998-05-01 19:20:12 | [Q] exit(0) in C examples |
Previous Message | Gautam H Thaker | 1998-05-01 18:54:58 | my patch for geo_opc.c (close_ps routine.) |