Re: [INTERFACES] Spanish format on date and numbers - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: [INTERFACES] Spanish format on date and numbers
Date
Msg-id 19991207112727.B1713@fam-meskes.de
Whole thread Raw
In response to Re: [INTERFACES] Spanish format on date and numbers  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: jose soares
Date:
Subject: Re: [HACKERS] TRANSACTION "WARNINGS"
Next
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] Spanish format on date and numbers