Re: per-database locale: createdb switches

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: per-database locale: createdb switches
Дата
Msg-id 496B5EC2.9020405@gmx.net
обсуждение исходный текст
Ответ на Re: per-database locale: createdb switches  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: per-database locale: createdb switches  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian wrote:
> Heikki Linnakangas wrote:
>> Alvaro Herrera wrote:
>>> Tom Lane wrote:
>>>> Alvaro Herrera <alvherre@commandprompt.com> writes:
>>>>> Alvaro Herrera wrote:
>>>>>> I like Teodor's proposal; I'll see about implementing that.
>>>>> Attached.
>>>> You missed updating the sgml docs, and personally I'd be inclined to
>>>> list -l before the individual --lc switches; otherwise it looks fine.
>>> Thanks, committed that way.  I noticed that --lc-ctype and --lc-collate
>>> were forgotten in SGML docs, so I added them too.
>> Should we have a shorthand CREATE DATABASE option like that as well?
> 
> createdb is really about convenience;  not sure it is warranted for
> CREATE DATABASE.

I think unless you are doing something completely funny, you would 
usually want to have COLLATE and CTYPE equal.  The fact that you now 
have to enter both to get that result could be pretty annoying in 
practice, I  would think.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SET TRANSACTION and SQL Standard
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Recovery Test Framework