Re: [INTERFACES] Spanish format on date and numbers

From: Michael Meskes <meskes(at)postgreSQL(dot)org>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Spanish format on date and numbers
Date: 1999-12-07 10:27:27
Message-ID: 19991207112727.B1713@fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)Fam-Meskes(dot)De | Use PostgreSQL!

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 1999-12-07 10:28:03 Re: [INTERFACES] Spanish format on date and numbers
Previous Message Michael Meskes 1999-12-07 10:26:38 Re: [INTERFACES] Spanish format on date and numbers