pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pier Paolo Bortone <pierpaolo.bortone@netengineering.it>
To: pgsql-admin@postgresql.org
Subject: HELP: Insert FLOAT in ITALIAN format.
Date: Mon, 1 Oct 2001 16:46:06 +0200
Message-ID: <010a01c14a87$cdff5e30$6100a8c0@netengineering.it> (raw)

Hi all,
I'm a new user of postgresql. I haven't problem to install and execute postgresql 7.1.3 on my Linux 7.1. 
But I don't able to insert a float number with comma separator for decimal, for example:

CREATE TABLE test (
    field    real
)

INSERT INTO test values ('2,5')\g

ERROR: bad float4 input format

if I write:
INSERT INTO test values ('2.5')\g then all works fine.

Can someone help me to configure postgresql to accept ITALIAN number format?

Thanks in advance at all.

Pier Paolo.

Message-ID: <010a01c14a87$cdff5e30$6100a8c0@netengineering.it>
Permalink:  ../010a01c14a87$cdff5e30$6100a8c0@netengineering.it/
Also on:    postgresql.org/message-id/010a01c14a87$cdff5e30$6100a8c0@netengineering.it

 · 

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-admin@postgresql.org
  Cc: pierpaolo.bortone@netengineering.it
  Subject: Re: HELP: Insert FLOAT in ITALIAN format.
  In-Reply-To: <010a01c14a87$cdff5e30$6100a8c0@netengineering.it>
  References: <010a01c14a87$cdff5e30$6100a8c0@netengineering.it>

* 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