npgsql - Npgsql2: Fixed a culture problem in the ToBasicType<T> method

From: fxjr(at)pgfoundry(dot)org (User Fxjr)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: Fixed a culture problem in the ToBasicType<T> method
Date: 2009-02-17 14:31:21
Message-ID: 20090217143121.5593017ADE86@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------

Fixed a culture problem in the ToBasicType<T> method which is used to send decimal values. With es_ES for example, decimal values were being sent as 32,3 instead of 32.3. Thanks Antonio Leiva (antonio dot leiva at gmail dot com) for heads up.

Modified Files:
--------------
Npgsql2/src/NpgsqlTypes:
NpgsqlTypeConverters.cs (r1.13 -> r1.14)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/NpgsqlTypes/NpgsqlTypeConverters.cs.diff?r1=1.13&r2=1.14)

Browse pgsql-committers by date

  From Date Subject
Next Message User Bmomjian 2009-02-17 15:38:54 pg-migrator - src: Add code to check that pg_controldata values are
Previous Message Peter Eisentraut 2009-02-17 13:01:13 pgsql: Add _() calls for the argument of plpgsql_yyerror() so it