Re: Add CREATE DATABASE LOCALE option

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Add CREATE DATABASE LOCALE option
Дата
Msg-id alpine.DEB.2.21.1907222056540.31866@lancre
обсуждение исходный текст
Ответ на Re: Add CREATE DATABASE LOCALE option  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Add CREATE DATABASE LOCALE option  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
Hello Peter,

>> About the pg_dump code, I'm wondering whether it is worth generating
>> LOCALE as it breaks backward compatibility (eg dumping a new db to load it
>> into a older version).
>
> We don't really care about backward compatibility here.  Moving forward,
> with ICU and such, we don't want to have to drag around old syntax forever.

We will drag it anyway because LOCALE is just a shortcut for the other two 
LC_* when they have the same value.

> How about this patch?

It applies cleanly, compiles, global & pg_dump make check ok, doc gen ok.

I'm still unconvinced of the interest of breaking backward compatibility, 
but this is no big deal.

I do not like much calling strlen() to check whether a string is empty, 
but this is pre-existing.

I switched the patch to READY.

-- 
Fabien.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: initdb recommendations
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: getting ERROR "relation 16401 has no triggers" with partitionforeign key alter