From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
---|---|
To: | Andreas Karlsson <andreas(at)proxel(dot)se>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Collation & ctype method table, and extension hooks |
Date: | 2025-01-10 00:19:58 |
Message-ID: | 54771b2aa90f0c09085ce3f97d7f07ddce47da55.camel@j-davis.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, 2024-12-02 at 23:58 -0800, Jeff Davis wrote:
> On Mon, 2024-12-02 at 16:39 +0100, Andreas Karlsson wrote:
> > I feel your first patch in the series is something you can just
> > commit.
>
> Done.
>
> I combined your patches and mine into the attached v10 series.
Here's v12 after committing a few of the earlier patches.
I changed the ctype method table to have separate methods for isdigit,
isalpha, etc., instead of the combined char_properties method. That's
more consistent with how things are currently done.
I may still be seeing a tiny perf regression using the same test as
[1], but I don't expect it to have a practical impact. Let me know if
you think that's a problem.
I committed your change to move the version reporting into the
provider-specific files.
Your other change to lookup_collation() in namespace.c should also
account for the code in DefineCollation() -- I don't think it makes
sense to refactor one without the other.
Regards,
Jeff Davis
[1]
https://www.postgresql.org/message-id/78a1b434ff40510dc5aaabe986299a09f4da90cf.camel%40j-davis.com
Attachment | Content-Type | Size |
---|---|---|
v12-0001-Control-ctype-behavior-internally-with-a-method-.patch | text/x-patch | 40.6 KB |
v12-0002-Remove-provider-field-from-pg_locale_t.patch | text/x-patch | 4.8 KB |
v12-0003-Make-provider-data-in-pg_locale_t-an-opaque-poin.patch | text/x-patch | 22.7 KB |
v12-0004-Don-t-include-ICU-headers-in-pg_locale.h.patch | text/x-patch | 2.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Masahiko Sawada | 2025-01-10 00:42:39 | Re: Conflict detection for update_deleted in logical replication |
Previous Message | Michael Paquier | 2025-01-10 00:14:45 | Re: per backend WAL statistics |