Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q9Xuc-0007Ef-Bt for pgsql-advocacy@arkaria.postgresql.org; Wed, 14 Jun 2023 21:20:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q9Xua-0000yG-Vd for pgsql-advocacy@arkaria.postgresql.org; Wed, 14 Jun 2023 21:20:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q9Xua-0000y5-Kn for pgsql-advocacy@lists.postgresql.org; Wed, 14 Jun 2023 21:20:16 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q9XuX-002E0L-Ub for pgsql-advocacy@postgresql.org; Wed, 14 Jun 2023 21:20:15 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f61b45ee0dso9490668e87.0 for ; Wed, 14 Jun 2023 14:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686777611; x=1689369611; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nqpmXu5tI6gV2M92eXb177Do0irtPGPNt3F/WOGwdLA=; b=hXXa1bLvcrKLLFjfAFfaoc56k9RGFgzfb10XMMhsmWUCOqxR9q09jR4RNd4w4Hh5qR agCwAwu1v2Da9Zg4UbrsInjK2OzmRlaQ51LY7g65WaGYOQqMpDPoT3hcMcLuIJ5V9dan XwgRJNErkmm1zlXidoZ8Rm79QKMojT5rd2KFMqwOG9BzSZuC3GNYqSjfLUPksRQam3Qn WR8ov2XnNZUx5vH3mKHTisPXCIE1B4/4k7WTd/rEDJKflxLL2bRy6hZGvSDD8Uv5jlMS DofrNN4UqHQJuw1kTqekuWPCnK2HKCZOEq756+YwRltZuBqqv+wEimPUfkeeXiBWt418 mToQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686777611; x=1689369611; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nqpmXu5tI6gV2M92eXb177Do0irtPGPNt3F/WOGwdLA=; b=FvxhrTKDyb9xiQOC/NaTPnEgIHIpW4FzCWd4CZ3ZnwgMR7UIJiVxjoOODGiCtKMArm CkU0b69RQs7cAVA+Dx5bqz2upjFvEZMbbtrXRGKu0IZPDyridQ6f3EDPRiwxYMH8eLAB PYv/LH1W6I5iVRtls2UAjE7u70DZyGmurppIqSOyXCooBHE/Q9oh7lkL8S+XVCroVNWJ eZ5U3Dyu5cy7NqZe42dNoUPq41y7j34z5atYXakqWkx63WrFmJDGCp8tkwOdc9vugmZv 2+IgwiSdT/MdJ3aqzzhwJ6zOKHjOMy5fQ6hpDdl+OcS4zesCe53PAW8KE+QkTN/+xSQy ToeA== X-Gm-Message-State: AC+VfDxVh7iPkJ8EVdOgDlOh5Zo++9ayq75Ob8xeQL3F6iBMLsnA2/Mu xCiN4cr563JNE8UAoALh+riZdkCNBAl52g1ZHjCj1e+OZRc= X-Google-Smtp-Source: ACHHUZ7+JiHm2gFiL4C33DNzjub1FQwW/RPNWDmtSNN3tWlnYcuPdaR5wt8c+whG7OVGKyPip0wlAO5TfQJ7zlrw+i8= X-Received: by 2002:a05:6512:3121:b0:4f6:4996:727f with SMTP id p1-20020a056512312100b004f64996727fmr7876737lfd.35.1686777611120; Wed, 14 Jun 2023 14:20:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "David G. Johnston" Date: Wed, 14 Jun 2023 14:19:53 -0700 Message-ID: Subject: Re: The same result for with SPACE and without SPACE To: M Sarwar Cc: "pgsql-advocacy@postgresql.org" Content-Type: multipart/alternative; boundary="00000000000053748c05fe1d8434" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000053748c05fe1d8434 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM M Sarwar w= rote: > > Please note in SQL-1 that test_number =3D 'TEST4P20 ' has a space and in > SQL-2 there is no space test_number =3D '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. --00000000000053748c05fe1d8434 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
As noted on this page, the -general li= st is a much more appropriate place to send this question.=C2=A0 Advocacy, = not even close.

On Wed, Jun 14, 2023 at 2:08=E2=80=AFPM M Sarwar &l= t;sarwarmd02@outlook.com> = wrote:

Please note in SQL-1 that test_number =3D 'TEST4P20 '=E2=80=82has= a space and in SQL-2 there is no space=C2=A0test_number =3D 'TEST4P20' has no space.

Is it= not a bug?

=
Doubtful.=C2=A0 You haven't provided actual data types here but it s= eems you are using character instead of text.=C2=A0 Your desired behavior i= s provided by the text data type.

David J.
=

--00000000000053748c05fe1d8434--