Re: ICU locale validation / canonicalization

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ICU locale validation / canonicalization
Date: 2023-03-24 07:50:57
Message-ID: 73553013-3926-0f34-0fb8-f37909fe4902@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 23.03.23 18:16, Jeff Davis wrote:
>> In 0002, the error "opening default collator is not supported",
>> should
>> that be an assert or an elog?  Is it reachable by the user?
> It's not reachable by the user, but could catch a bug if we
> accidentally read a NULL field from the catalog or something like that.
> It seemed a worthwhile check to leave in production builds.

Then it ought to be an elog().

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2023-03-24 07:59:55 Re: running logical replication as the subscription owner
Previous Message Peter Eisentraut 2023-03-24 07:31:04 Re: Refactoring SysCacheGetAttr to know when attr cannot be NULL