Re: ICU locale validation / canonicalization - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: ICU locale validation / canonicalization
Date
Msg-id 73553013-3926-0f34-0fb8-f37909fe4902@enterprisedb.com
Whole thread Raw
In response to Re: ICU locale validation / canonicalization  (Jeff Davis <pgsql@j-davis.com>)
List 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().



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Refactoring SysCacheGetAttr to know when attr cannot be NULL
Next
From: Jeff Davis
Date:
Subject: Re: running logical replication as the subscription owner