PostGIS 3.6.1 - ERROR: operator is not unique: public.geometry = public.geometry
Regina Obe
lr at pcorp.us
Thu Jan 8 09:00:58 PST 2026
Arthur,
Are you able to replicate? I can’t with the same version of PostGIS and PostgreSQL.
From: Arthur Bazin <arthurbazin at gmail.com>
Sent: Thursday, January 8, 2026 11:55 AM
To: Paul Ramsey <pramsey at cleverelephant.ca>
Cc: PostGIS Users Discussion <postgis-users at lists.osgeo.org>
Subject: Re: PostGIS 3.6.1 - ERROR: operator is not unique: public.geometry = public.geometry
@paul, you have not the exact same version of PostGIS and therefore of GEOS and PROJ.
Maybe the origin of the non reproductibility ?
Best regards
Arthur
Le jeu. 8 janv. 2026, 17:26, Paul Ramsey via postgis-users <postgis-users at lists.osgeo.org <mailto:postgis-users at lists.osgeo.org> > a écrit :
This is odd, I am not able to replicate...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
POSTGIS="3.6.1dev 3.6.0-6-gdb18a9a49" PGSQL="180" GEOS="3.15.0dev-CAPI-1.21.0" PROJ="9.3.0 NETWORK_ENABLED=ON URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/Users/pramsey/Library/Application Support/proj DATABASE_PATH=/usr/local/share/proj/proj.db" (compiled against PROJ 9.3.0) LIBXML="2.9.13" LIBJSON="0.17" LIBPROTOBUF="1.4.1" WAGYU="0.5.0 (Internal)"
(1 row)
postgis_reg=# SELECT 'POINT EMPTY'::public.geometry = 'POINT EMPTY'::public.geometry;
?column?
----------
t
(1 row)
Is this a database that has gone through upgrade stages, or a blank fresh database?
P
On Thu, Jan 8, 2026 at 8:21 AM Cedric Duprez <cedric.duprez at ign.fr <mailto:cedric.duprez at ign.fr> > 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="3.6.1 f533623" [EXTENSION] PGSQL="170" GEOS="3.12.1-CAPI-1.18.1" PROJ="9.4.0 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/usr/share/proj/proj.db" (compiled against PROJ 9.4.0) GDAL="GDAL 3.8.4, released 2024/02/08" LIBXML="2.9.14" LIBJSON="0.17" LIBPROTOBUF="1.4.1" WAGYU="0.5.0 (Internal)" RASTER
When I execute this query:
SELECT 'POINT EMPTY'::public.geometry = 'POINT EMPTY'::public.geometry;
I get the following error:
ERROR: operator is not unique: public.geometry = 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20260108/3049ec69/attachment.htm>
More information about the postgis-users
mailing list