Re: char(n) to varchar or text conversion should strip - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: char(n) to varchar or text conversion should strip
Date
Msg-id Pine.LNX.4.44.0211181914070.12428-100000@localhost.localdomain
Whole thread Raw
In response to Re: char(n) to varchar or text conversion should strip trailing spaces  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: char(n) to varchar or text conversion should strip
List pgsql-hackers
Tom Lane writes:

> Hmm ... now that's an interesting thought.  So the input converter would
> actively strip trailing blanks, output would add them back,

But how would the output know how many to put back?

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Ideas needed: How to create and store collation tables
Next
From: Peter Eisentraut
Date:
Subject: Re: [CYGWIN] ipc-daemon