On Thu, 2023-11-30 at 17:00 -0500, Ron Johnson wrote:
> > As David said, you're best off not using the char type.
> > The semantics around trailing spaces are too squishy for
> > my taste, and there's no real advantage compared to varchar
> > or text.
>
> How do you get a trailing space when trailing spaces are significant?
You would add a check constraint to verify it is there, and
if you want to automatically create training spaces, use a
BEFORE trigger.
Yours,
Laurenz Albe