Received: from mail.ngi.de ([195.243.0.227]) by hub.org (8.9.3/8.9.3) with ESMTP id FAA06946 for ; Tue, 7 Dec 1999 05:30:56 -0500 (EST) (envelope-from michael@fam-meskes.de) Received: from p3E9C144F.dip0.t-ipconnect.de (root@p3E9C144F.dip0.t-ipconnect.de [62.156.20.79]) by mail.ngi.de (8.9.3/8.9.3) with ESMTP id LAA32535 for ; Tue, 7 Dec 1999 11:21:50 +0100 (CET) (envelope-from michael@fam-meskes.de) Received: (from michael@localhost) by tanja.fam-meskes.de (8.9.3/8.9.0/Debian/GNU) id LAA01730 for pgsql-interfaces@postgreSQL.org; Tue, 7 Dec 1999 11:27:27 +0100 Date: Tue, 7 Dec 1999 11:27:27 +0100 From: Michael Meskes To: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Spanish format on date and numbers Message-ID: <19991207112727.B1713@fam-meskes.de> Mail-Followup-To: pgsql-interfaces@postgreSQL.org References: <19991206075442.A1392@fam-meskes.de> <18449.944493752@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0i In-Reply-To: <18449.944493752@sss.pgh.pa.us>; from tgl@sss.pgh.pa.us on Mon, Dec 06, 1999 at 10:22:32AM -0500 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!