Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 587A0B5DC3D for ; Mon, 12 Sep 2011 20:08:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 03539-05-6 for ; Mon, 12 Sep 2011 23:08:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id DEFBFB5DD3E for ; Mon, 12 Sep 2011 20:08:05 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8CN83EG017627; Mon, 12 Sep 2011 19:08:03 -0400 (EDT) To: albert cc: aihtdikh@gmail.com, pgsql-odbc@postgresql.org Subject: Re: MSAccess to postgres on Windows Currency type problem In-reply-to: References: <4E6DDACF.5010405@gmail.com> Comments: In-reply-to albert message dated "Mon, 12 Sep 2011 14:35:33 -0500" Date: Mon, 12 Sep 2011 19:08:03 -0400 Message-ID: <17626.1315868883@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/8 X-Sequence-Number: 10705 albert writes: > I could csv-export the table correctly, so no corruption apparently. I found > a registry key called "LocksPerPage" that belongs to MS Office, after > increasing it I was able to translate MSAcces Currency type to Integer > successfully. Exporting through ODBC right after that was also successful. > However that doesn't ring me a bell on how one can automagically export an > MSAccess table through postgres odbc when having a column with Currency data > type. It looks like you're using a locale in which the decimal separator is comma rather than period. Perhaps changing some locale setting on the MSAccess side would help? regards, tom lane