pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgreSQL.org>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Spanish format on date and numbers
Date: Tue, 7 Dec 1999 11:27:27 +0100
Message-ID: <19991207112727.B1713@fam-meskes.de> (raw)
In-Reply-To: <18449.944493752@sss.pgh.pa.us>
References: <19991206075442.A1392@fam-meskes.de>
	<18449.944493752@sss.pgh.pa.us>

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!



view thread (22+ messages)  latest in thread

Message-ID: <19991207112727.B1713@fam-meskes.de>
Permalink:  ../19991207112727.B1713@fam-meskes.de/
Also on:    postgresql.org/message-id/19991207112727.B1713@fam-meskes.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgreSQL.org
  Subject: Re: [INTERFACES] Spanish format on date and numbers
  In-Reply-To: <19991207112727.B1713@fam-meskes.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox