agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Jeff Davis <pgsql@j-davis.com>
To: Andrey Borodin <x4mmm@yandex-team.ru>
Cc: Jeff Davis <jdavis@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Perform provider-specific initialization in new functions.
Date: Thu, 16 Apr 2026 11:42:15 -0700
Message-ID: <2153399092d446bc1137eee5f70ad7af70e9039e.camel@j-davis.com> (raw)
In-Reply-To: <9e74ecd519ac5a1a2a5fefec86d261037f3db311.camel@j-davis.com>
References: <E1tINJx-000sMi-Vr@gemulon.postgresql.org>
<D18AD72A-5004-4EF8-AF80-10732AF677FA@yandex-team.ru>
<dba69ec2334f9cff04d102de243ea912a3166586.camel@j-davis.com>
<2FCB31FC-43E9-45F6-9AF4-4E199132B4E5@yandex-team.ru>
<9e74ecd519ac5a1a2a5fefec86d261037f3db311.camel@j-davis.com>
On Mon, 2026-04-13 at 14:08 -0700, Jeff Davis wrote:
> That
> has two benefits:
>
> 1. Fixes your issue, because C_COLLATION_OID is always available.
> 2. Faster than a default collation based on libc or ICU.
I didn't detect any meaningful improvement here, probably because most
catalog cache lookups use columns with type NAME not TEXT.
But this still seems like a good idea on the grounds that, if we are
choosing an arbitrary deterministic collation for some internal
purpose, we should consistently choose the simplest and fastest one.
>
> I don't see a reason to backport this, but if someone else does then
> I
> could be convinced.
I plan to commit this soon.
I don't plan to backport unless someone sees a reason that it should be
backported (and if so, how far?).
Regards,
Jeff Davis
view thread (8+ messages) latest in thread
Message-ID: <2153399092d446bc1137eee5f70ad7af70e9039e.camel@j-davis.com>
Permalink: ../2153399092d446bc1137eee5f70ad7af70e9039e.camel@j-davis.com/
Also on: postgresql.org/message-id/2153399092d446bc1137eee5f70ad7af70e9039e.camel@j-davis.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: pgsql@j-davis.com, x4mmm@yandex-team.ru, jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Perform provider-specific initialization in new functions.
In-Reply-To: <2153399092d446bc1137eee5f70ad7af70e9039e.camel@j-davis.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox