Re: badly calculated width of emoji in psql - Mailing list pgsql-hackers

From John Naylor
Subject Re: badly calculated width of emoji in psql
Date
Msg-id CAFBsxsG39ZQNKDQpE3Yu6rytemsCk8naJ9ib=WyiSUia24_3qw@mail.gmail.com
Whole thread Raw
In response to Re: badly calculated width of emoji in psql  (Michael Paquier <michael@paquier.xyz>)
Responses Re: badly calculated width of emoji in psql  (Jacob Champion <pchampion@vmware.com>)
Re: badly calculated width of emoji in psql  (John Naylor <john.naylor@enterprisedb.com>)
List pgsql-hackers

On Sun, Aug 15, 2021 at 10:45 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Thu, Aug 12, 2021 at 05:13:31PM -0400, John Naylor wrote:
> > I'm a bit concerned about the build dependencies not working right, but
> > it's not clear it's even due to the patch. I'll spend some time
> > investigating next week.
>
> How large do libpgcommon deliverables get with this patch?  Skimming
> through the patch, that just looks like a couple of bytes, still.

More like a couple thousand bytes. That's because the width of mbinterval doubled. If this is not desirable, we could teach the scripts to adjust the width of the interval type depending on the largest character they saw.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Ivan Panchenko
Date:
Subject: Re[5]: On login trigger: take three
Next
From: John Naylor
Date:
Subject: Re: Non-decimal integer literals