RE: PostGIS 3.6.1 - ERROR: operator is not unique: public.geometry = public.geometry
"Regina Obe" <[email protected]> Thu, 8 Jan 2026 12:00:58 -0500
| Newsgroups | gmane.comp.gis.postgis |
|---|---|
| Message-ID | <[email protected]> |
This is a multipart message in MIME format. ------=_NextPart_000_001B_01DC8096.7492F4F0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Arthur, =20 Are you able to replicate? I can=E2=80=99t with the same version of = PostGIS and PostgreSQL. =20 From: Arthur Bazin <[email protected]>=20 Sent: Thursday, January 8, 2026 11:55 AM To: Paul Ramsey <[email protected]> Cc: PostGIS Users Discussion <[email protected]> Subject: Re: PostGIS 3.6.1 - ERROR: operator is not unique: = public.geometry =3D public.geometry =20 @paul, you have not the exact same version of PostGIS and therefore of = GEOS and PROJ.=20 Maybe the origin of the non reproductibility ?=20 =20 Best regards Arthur =20 =20 =20 Le jeu. 8 janv. 2026, 17:26, Paul Ramsey via postgis-users = <[email protected] <mailto:[email protected]> > = a =C3=A9crit : This is odd, I am not able to replicate... =20 -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= --- POSTGIS=3D"3.6.1dev 3.6.0-6-gdb18a9a49" PGSQL=3D"180" = GEOS=3D"3.15.0dev-CAPI-1.21.0" PROJ=3D"9.3.0 NETWORK_ENABLED=3DON = URL_ENDPOINT=3Dhttps://cdn.proj.org = USER_WRITABLE_DIRECTORY=3D/Users/pramsey/Library/Application = Support/proj DATABASE_PATH=3D/usr/local/share/proj/proj.db" (compiled = against PROJ 9.3.0) LIBXML=3D"2.9.13" LIBJSON=3D"0.17" = LIBPROTOBUF=3D"1.4.1" WAGYU=3D"0.5.0 (Internal)" (1 row) postgis_reg=3D# SELECT 'POINT EMPTY'::public.geometry =3D 'POINT = EMPTY'::public.geometry; ?column?=20 ---------- t (1 row) =20 =20 Is this a database that has gone through upgrade stages, or a blank = fresh database? =20 P =20 On Thu, Jan 8, 2026 at 8:21=E2=80=AFAM Cedric Duprez = <[email protected] <mailto:[email protected]> > wrote: Hi all, I'm facing a potential bug with PostGIS 3.6.1 on PostgreSQL 17.7. Here is what I get with postgis_full_version() : POSTGIS=3D"3.6.1 = f533623" [EXTENSION] PGSQL=3D"170" GEOS=3D"3.12.1-CAPI-1.18.1" = PROJ=3D"9.4.0 NETWORK_ENABLED=3DOFF URL_ENDPOINT=3Dhttps://cdn.proj.org = USER_WRITABLE_DIRECTORY=3D/tmp/proj = DATABASE_PATH=3D/usr/share/proj/proj.db" (compiled against PROJ 9.4.0) = GDAL=3D"GDAL 3.8.4, released 2024/02/08" LIBXML=3D"2.9.14" = LIBJSON=3D"0.17" LIBPROTOBUF=3D"1.4.1" WAGYU=3D"0.5.0 (Internal)" RASTER When I execute this query:=20 SELECT 'POINT EMPTY'::public.geometry =3D 'POINT = EMPTY'::public.geometry; I get the following error: ERROR: operator is not unique: public.geometry =3D public.geometry It seems to be a regression, since I didn't have this error on previous = versions of PostGIS (3.5). How can this problem be solved? Thanks in advance for you help, Cedric =09 =20 ------=_NextPart_000_001B_01DC8096.7492F4F0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta = name=3DGenerator content=3D"Microsoft Word 15 (filtered = medium)"><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Aptos;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; font-size:12.0pt; font-family:"Aptos",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Aptos",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style></head><body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'word-wrap:break-word'><div class=3DWordSection1><p = class=3DMsoNormal>Arthur,<o:p></o:p></p><p = class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Are you able = to replicate?=C2=A0 I can=E2=80=99t with the same version of PostGIS and = PostgreSQL.<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><div = style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in = 4.0pt'><div><div style=3D'border:none;border-top:solid #E1E1E1 = 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span><= /b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> = Arthur Bazin <[email protected]> <br><b>Sent:</b> Thursday, = January 8, 2026 11:55 AM<br><b>To:</b> Paul Ramsey = <[email protected]><br><b>Cc:</b> PostGIS Users Discussion = <[email protected]><br><b>Subject:</b> Re: PostGIS = 3.6.1 - ERROR: operator is not unique: public.geometry =3D = public.geometry<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p> </o:p></p><div><div><div><p = class=3DMsoNormal>@paul, you have not the exact same version of PostGIS = and therefore of GEOS and PROJ. <o:p></o:p></p></div><div><p = class=3DMsoNormal>Maybe the origin of the non reproductibility = ? <o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>Best regards<o:p></o:p></p></div><div><p = class=3DMsoNormal>Arthur<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div></div><p = class=3DMsoNormal><o:p> </o:p></p><div><div><p class=3DMsoNormal>Le = jeu. 8 janv. 2026, 17:26, Paul Ramsey via postgis-users <<a = href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>> a = =C3=A9crit :<o:p></o:p></p></div><blockquote = style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in = 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=3DMsoNormal>This = is odd, I am not able to replicate...<o:p></o:p></p><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>-------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= -------------------------------------------------------------------------= ---------------------<br> POSTGIS=3D"3.6.1dev = 3.6.0-6-gdb18a9a49" PGSQL=3D"180" = GEOS=3D"3.15.0dev-CAPI-1.21.0" PROJ=3D"9.3.0 = NETWORK_ENABLED=3DON URL_ENDPOINT=3D<a href=3D"https://cdn.proj.org" = target=3D"_blank">https://cdn.proj.org</a> = USER_WRITABLE_DIRECTORY=3D/Users/pramsey/Library/Application = Support/proj DATABASE_PATH=3D/usr/local/share/proj/proj.db" = (compiled against PROJ 9.3.0) LIBXML=3D"2.9.13" = LIBJSON=3D"0.17" LIBPROTOBUF=3D"1.4.1" = WAGYU=3D"0.5.0 (Internal)"<br>(1 row)<br><br>postgis_reg=3D# = SELECT 'POINT EMPTY'::public.geometry =3D 'POINT = EMPTY'::public.geometry;<br> ?column? = <br>----------<br> t<br>(1 row)<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>Is this a database that has gone through upgrade = stages, or a blank fresh database?<o:p></o:p></p></div><div><p = class=3DMsoNormal><o:p> </o:p></p></div><div><p = class=3DMsoNormal>P<o:p></o:p></p></div></div><p = class=3DMsoNormal><o:p> </o:p></p><div><div><p class=3DMsoNormal>On = Thu, Jan 8, 2026 at 8:21<span = style=3D'font-family:"Arial",sans-serif'>=E2=80=AF</span>AM Cedric = Duprez <<a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a>> = wrote:<o:p></o:p></p></div><blockquote = style=3D'border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in = 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=3DMsoNormal>Hi = all,<br><br>I'm facing a potential bug with PostGIS 3.6.1 on PostgreSQL = 17.7.<br>Here is what I get with postgis_full_version() : = POSTGIS=3D"3.6.1 f533623" [EXTENSION] PGSQL=3D"170" = GEOS=3D"3.12.1-CAPI-1.18.1" PROJ=3D"9.4.0 = NETWORK_ENABLED=3DOFF URL_ENDPOINT=3D<a href=3D"https://cdn.proj.org" = target=3D"_blank">https://cdn.proj.org</a> = USER_WRITABLE_DIRECTORY=3D/tmp/proj = DATABASE_PATH=3D/usr/share/proj/proj.db" (compiled against PROJ = 9.4.0) GDAL=3D"GDAL 3.8.4, released 2024/02/08" = LIBXML=3D"2.9.14" LIBJSON=3D"0.17" = LIBPROTOBUF=3D"1.4.1" WAGYU=3D"0.5.0 (Internal)" = RASTER<br><br>When I execute this query: <br>SELECT 'POINT = EMPTY'::public.geometry =3D 'POINT EMPTY'::public.geometry;<br>I get the = following error:<br>ERROR: operator is not unique: public.geometry =3D = public.geometry<br><br>It seems to be a regression, since I didn't have = this error on previous versions of PostGIS (3.5).<br><br>How can this = problem be solved?<br>Thanks in advance for you = help,<br><br>Cedric<o:p></o:p></p></div></blockquote></div></blockquote><= /div><div><div><div><table class=3DMsoNormalTable border=3D1 = cellpadding=3D0 style=3D'border:solid #EEEDED 1.0pt'><tr = style=3D'height:11.25pt'><td style=3D'border:none;padding:.75pt .75pt = .75pt .75pt;height:11.25pt'></td></tr></table><p = class=3DMsoNormal><o:p> </o:p></p></div></div></div></div></div></di= v></body></html> ------=_NextPart_000_001B_01DC8096.7492F4F0--