pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: lothar.behrens@lollisoft.de <lothar.behrens@lollisoft.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: How to detect float format by passing SQL_CHAR to float column ?
Date: Thu, 19 Jan 2006 10:39:53 -0500
Message-ID: <16523.1137685193@sss.pgh.pa.us> (raw)
In-Reply-To: <1137684429.653275.89500@o13g2000cwo.googlegroups.com>
References: <1137684429.653275.89500@o13g2000cwo.googlegroups.com>

"lothar.behrens@lollisoft.de" <lothar.behrens@lollisoft.de> writes:
> as the documentation of postgresql, there is a floating point format
> like 10.1234 but I do not see
> 10,1234. Is that ever like the documentation ?

No, we deliberately do not support locale-dependent numeric styles.
At least not in simple data entry --- IIRC, you can convert such
strings with to_char()/to_number().

			regards, tom lane



view thread (2+ messages)

Message-ID: <16523.1137685193@sss.pgh.pa.us>
Permalink:  ../16523.1137685193@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16523.1137685193@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lothar.behrens@lollisoft.de
  Subject: Re: How to detect float format by passing SQL_CHAR to float column ?
  In-Reply-To: <16523.1137685193@sss.pgh.pa.us>
  References: <1137684429.653275.89500@o13g2000cwo.googlegroups.com> <16523.1137685193@sss.pgh.pa.us>

* 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