Re: The same result for with SPACE and without SPACE

From: M Sarwar <sarwarmd02(at)outlook(dot)com>
To: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: The same result for with SPACE and without SPACE
Date: 2023-06-14 22:31:34
Message-ID: DM4PR19MB59784B518F25D2C2292CA3FBD35AA@DM4PR19MB5978.namprd19.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-advocacy

Scott,

This is coming from CHAR(10).

test_number character(10) COLLATE pg_catalog."default",

I expect this to behave the same way whether it comes from CHAR or VARCHAR.
Does that matter?
Thanks,
Sarwar

________________________________
From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Sent: Wednesday, June 14, 2023 6:18 PM
To: M Sarwar <sarwarmd02(at)outlook(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: The same result for with SPACE and without SPACE

Did you use type char instead of varchar?

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2023-06-14 22:45:39 Re: The same result for with SPACE and without SPACE
Previous Message Scott Ribe 2023-06-14 22:18:11 Re: The same result for with SPACE and without SPACE

Browse pgsql-advocacy by date

  From Date Subject
Next Message Tom Lane 2023-06-14 22:45:39 Re: The same result for with SPACE and without SPACE
Previous Message Scott Ribe 2023-06-14 22:18:11 Re: The same result for with SPACE and without SPACE