Re: [17] CREATE COLLATION default provider - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: [17] CREATE COLLATION default provider
Date
Msg-id 7b0d1f9a17bc09470f616c4129ec67ed9a8de7cd.camel@j-davis.com
Whole thread Raw
In response to Re: [17] CREATE COLLATION default provider  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Thu, 2024-01-18 at 11:15 +0100, Peter Eisentraut wrote:
> I wonder, however, how useful this would be in practice.  In most
> interesting cases, you need to know what the provider is to be able
> to
> spell out the locale name appropriately.  The cases where some
> overlap
> exists, like the common "ll_CC", are already preloaded, so won't
> actually need to be specified explicitly in many cases.

Good point.

> Also, I think the default should only flow one way, top-down:  The
> default provider of CREATE COLLATION is datlocprovider.  There
> shouldn't
> be a second, botton-up way, based on the other specified CREATE
> COLLATION parameters.  That's just too much logical zig-zag, IMO.

Also a good point. I am withdrawing this patch from the CF, and we can
reconsider the idea later perhaps in some other form.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: David E. Wheeler
Date:
Subject: Re: Patch: Improve Boolean Predicate JSON Path Docs
Next
From: "David E. Wheeler"
Date:
Subject: Re: Patch: Improve Boolean Predicate JSON Path Docs