Re: [INTERFACES] Spanish format on date and numbers

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [INTERFACES] Spanish format on date and numbers
Дата
Msg-id 19991207112727.B1713@fam-meskes.de
обсуждение исходный текст
Ответ на Re: [INTERFACES] Spanish format on date and numbers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
On Mon, Dec 06, 1999 at 10:22:32AM -0500, Tom Lane wrote:
> We can't mess around with SQL syntax --- or would you like
> 
>     SELECT 12,34;
> 
> to have locale-dependent results?

Well that exactly was what I wanted to express. Sorry if I was unclear.

> However, I think we could make the type-specific I/O routines for
> appropriate types be locale-dependent.  So you could do
> 
>     SELECT '12,34'::int4;
> 
> and get the desired behavior in a locale where , is the radix point.

I'm not sure this is the right thing to do.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael@Fam-Meskes.De           | Use PostgreSQL!


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

Предыдущее
От: jose soares
Дата:
Сообщение: Re: [HACKERS] TRANSACTION "WARNINGS"
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [INTERFACES] Spanish format on date and numbers