public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: M Sarwar <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: The same result for with SPACE and without SPACE
Date: Wed, 14 Jun 2023 14:19:53 -0700
Message-ID: <CAKFQuwazHio_fz1ZKO9WSw5Q6hD9BVJJmf_Lbk06R2uduswUQg@mail.gmail.com> (raw)
In-Reply-To: <DM4PR19MB5978EB964FA1C7B55FFCB02DD35AA@DM4PR19MB5978.namprd19.prod.outlook.com>
References: <DM4PR19MB5978EB964FA1C7B55FFCB02DD35AA@DM4PR19MB5978.namprd19.prod.outlook.com>

As noted on this page, the -general list is a much more appropriate place
to send this question.  Advocacy, not even close.
https://www.postgresql.org/list/

On Wed, Jun 14, 2023 at 2:08 PM M Sarwar <[email protected]> wrote:

>
> Please note in SQL-1 that test_number = 'TEST4P20 ' has a space and in
> SQL-2 there is no space test_number = 'TEST4P20' has no space.
>
> Is it not a bug?
>

Doubtful.  You haven't provided actual data types here but it seems you are
using character instead of text.  Your desired behavior is provided by the
text data type.

David J.


view thread (22+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: The same result for with SPACE and without SPACE
  In-Reply-To: <CAKFQuwazHio_fz1ZKO9WSw5Q6hD9BVJJmf_Lbk06R2uduswUQg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox