Re: [PATCH] Expand character set for ltree labels
От
Andrew Dunstan
Тема
Re: [PATCH] Expand character set for ltree labels
Дата
Msg-id
17991f98-efc4-0458-e3fd-50610bd501c1@dunslane.net
Ответ на
Re: [PATCH] Expand character set for ltree labels (Garen Torikian)
Список
Дерево обсуждения
[PATCH] Expand character set for ltree labels Garen Torikian <gjtorikian@gmail.com>
Re: [PATCH] Expand character set for ltree labels Nathan Bossart <nathandbossart@gmail.com>
Re: [PATCH] Expand character set for ltree labels Garen Torikian <gjtorikian@gmail.com>
Re: [PATCH] Expand character set for ltree labels Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Expand character set for ltree labels Garen Torikian <gjtorikian@gmail.com>
Re: [PATCH] Expand character set for ltree labels Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Expand character set for ltree labels Garen Torikian <gjtorikian@gmail.com>
Re: [PATCH] Expand character set for ltree labels Andrew Dunstan <andrew@dunslane.net>
Re: [PATCH] Expand character set for ltree labels Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Expand character set for ltree labels Andrew Dunstan <andrew@dunslane.net>
Re: [PATCH] Expand character set for ltree labels Ian Lawrence Barwick <barwick@gmail.com>
Re: [PATCH] Expand character set for ltree labels vignesh C <vignesh21@gmail.com>
Re: [PATCH] Expand character set for ltree labels Garen Torikian <gjtorikian@gmail.com>
Re: [PATCH] Expand character set for ltree labels vignesh C <vignesh21@gmail.com>
On 2022-10-05 We 18:05, Garen Torikian wrote: > After digging into it, you are completely correct. I had to do a bit > more reading to understand the relationships between UTF-8 and wchar, > but ultimately the existing locale support works for my use case. > > Therefore I have updated the patch with three much smaller changes: > > * Support for `-` in addition to `_` > * Expanding the limit to 512 chars (from the existing 256); again it's > not uncommon for non-English strings to be much longer > * Fixed the documentation to expand on what the ltree label's > relationship to the DB locale is > Regardless of the punycode issue, allowing hyphens in ltree labels seems quite reasonable. I haven't reviewed the patch yet, but if it's OK I intend to commit it. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
В списке pgsql-hackers по дате отправления
От: Andrew Dunstan
Дата:
От: Tom Lane
Дата: