Re: distance operator dont work - Mailing list pgsql-bugs

From Tom Lane
Subject Re: distance operator dont work
Date
Msg-id 19065.1155488770@sss.pgh.pa.us
Whole thread Raw
In response to distance operator dont work  (bernard snyers <bs@ionicsoft.com>)
List pgsql-bugs
bernard snyers <bs@ionicsoft.com> writes:
> I patch the line
> DATA(insert OID = 613 (  "<->"       PGNSP PGUID b f 600 628 701
>  0     0    0  0   0   0 dist_pl - - ));

> replacing 628 by 604 ,
> compiling and reinstalling everything including the database
> and It works (I didnt verify the result)

Obviously not.  line and polygon don't have the same internal
representation, so there's no way that's going to work.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: distance operator dont work
Next
From: "Michael Enke"
Date:
Subject: BUG #2574: C function: arg TEXT data corrupt