From: | Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com> |
---|---|
To: | Scott(at)bitsnbytes(dot)io |
Cc: | "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Simple Query Doesn't Even with Data |
Date: | 2022-03-10 08:30:46 |
Message-ID: | CAD3a31V=-_HP=KZaiU2qvqKZQGEO-e9Mg4MtoP=SW4itmjZ4tQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Mar 10, 2022 at 12:12 AM Scott Macri <Scott(at)bitsnbytes(dot)io> wrote:
I've verified the data a 100 times and am totally perplexed. Thanks.
>
> SELECT *
> FROM public.map_table
> WHERE company_letters = 'abcdefg';
>
>
Not sure what kinds of verification you did, but did you check to make sure
that there's no trailing whitespace?
What do you see for that row if you run this query?
SELECT
company_letters,length(company_letters),company_letters='abcdefg',trim(company_letters)='abcdefg'
FROM public.map_table;
--
AGENCY Software
A Free Software data system
By and for non-profits
*http://agency-software.org/ <http://agency-software.org/>*
*https://demo.agency-software.org/client
<https://demo.agency-software.org/client>*
ken(dot)tanzer(at)agency-software(dot)org
(253) 245-3801
Subscribe to the mailing list
<agency-general-request(at)lists(dot)sourceforge(dot)net?body=subscribe> to
learn more about AGENCY or
follow the discussion.
From | Date | Subject | |
---|---|---|---|
Next Message | Luca Ferrari | 2022-03-10 13:51:16 | primary_conninfo and restore_command ? |
Previous Message | Julien Rouhaud | 2022-03-10 08:20:27 | Re: Simple Query Doesn't Even with Data |