SELECT * FROM centroids WHERE centroid = ST_GeomFromText('POINT (21.6198205 41.9418615)', 4326);
centroid geometry equal to
POINT (21.619820510769063 41.94186153740355)
Running on PostgreSQL with PostGIS 2.3 db shows me this record.
Running on PostgreSQL with PostGIS 2.4 db doesn't show me anything.
When I adjust query to exact geometry as in the record, so it is
SELECT * FROM centroids WHERE centroid = ST_GeomFromText('POINT (21.619820510769063 41.94186153740355)', 4326); it shows me record on both databases.
I couldn't find anything about how exactly does ST_GeomFromText work from technical side.
Is it correct behaviour?