Re: [PATCH] backend: compare word-at-a-time in bcTruelen - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] backend: compare word-at-a-time in bcTruelen
Date
Msg-id 10944.1245344319@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] backend: compare word-at-a-time in bcTruelen  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: [PATCH] backend: compare word-at-a-time in bcTruelen  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: [PATCH] backend: compare word-at-a-time in bcTruelen  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote: 
>> It would be way nicer if we could strip trailing blanks on storage,
>> and then figure a way to either reconstitute them on output
> How about pushing it even farther back -- always keep them with
> trimmed trailing spaces and add trailing spaces as required in
> operator functions?

I think that's what I said.  AFAIK there isn't any place where we'd
need to add back the spaces except the output function.  All the
operators would be just as happy if the spaces weren't there.
        regards, tom lane


pgsql-hackers by date:

Previous
From:
Date:
Subject: Re: Uninstallation error
Next
From: Greg Smith
Date:
Subject: Re: pg_migrator mention in documentation