Answer the question
In order to leave comments, you need to log in
Why can't postgresql find spaces in a query with where?
There is such a query
SELECT region_id, name, url_name
FROM public.tbl_city
WHERE name = 'Brest region';
and as a result it finds nothing, but the record itself is there. if you search WHERE name = 'Brest'; then everything is fine
Answer the question
In order to leave comments, you need to log in
Is there a space at the end of the field value 'Brest region' by any chance?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question