pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Igor Korot <ikorot01@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Return trimmed string from the query
Date: Wed, 4 Nov 2026 20:50:20 -0800
Message-ID: <c440e4a8-2527-4be8-9b20-c3d56109fd5d@aklaver.com> (raw)
In-Reply-To: <CA+FnnTwCus_FgF0Q-r_BXBf6V1CDnAV6mbXLK+Ua=Bs7c7MnmA@mail.gmail.com>
References: <CA+FnnTwZFTaBGvaQc1eqkgFJkev+BSbsn1oTaWwbKE5BLfKNRw@mail.gmail.com>
	<CAFj8pRD0UydbucRrMhCGBNrf4GyP5OS7K32r5EBCYVAam0cAdg@mail.gmail.com>
	<CA+FnnTwCus_FgF0Q-r_BXBf6V1CDnAV6mbXLK+Ua=Bs7c7MnmA@mail.gmail.com>

On 11/4/26 6:56 PM, Igor Korot wrote:
> Hi,
> 

> Sorry for a late reply.
> 
> So does this mean that if I use varchar instead of char I will not
> have this problem?

It is all explained in the docs:

https://www.postgresql.org/docs/current/datatype-character.html

> 
> Thank you,
> 
>> (1 row)
>>
>> regards
>>
>> Pavel
>>
>>>
>>>
>>> Thank you.
>>>
>>>
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (10+ messages)

Message-ID: <c440e4a8-2527-4be8-9b20-c3d56109fd5d@aklaver.com>
Permalink:  ../c440e4a8-2527-4be8-9b20-c3d56109fd5d@aklaver.com/
Also on:    postgresql.org/message-id/c440e4a8-2527-4be8-9b20-c3d56109fd5d@aklaver.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ikorot01@gmail.com, pavel.stehule@gmail.com
  Subject: Re: Return trimmed string from the query
  In-Reply-To: <c440e4a8-2527-4be8-9b20-c3d56109fd5d@aklaver.com>
  References: <CA+FnnTwZFTaBGvaQc1eqkgFJkev+BSbsn1oTaWwbKE5BLfKNRw@mail.gmail.com> <CAFj8pRD0UydbucRrMhCGBNrf4GyP5OS7K32r5EBCYVAam0cAdg@mail.gmail.com> <CA+FnnTwCus_FgF0Q-r_BXBf6V1CDnAV6mbXLK+Ua=Bs7c7MnmA@mail.gmail.com> <c440e4a8-2527-4be8-9b20-c3d56109fd5d@aklaver.com>

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

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