pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: albert <skarbat@gmail.com>
Cc: aihtdikh@gmail.com
Cc: pgsql-odbc@postgresql.org
Subject: Re: MSAccess to postgres on Windows Currency type problem
Date: Mon, 12 Sep 2011 19:08:03 -0400
Message-ID: <17626.1315868883@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGt3jCoVNayoz9qXJ2QH3y6pRHjAEaOihyeUvqX-otNiayx+CA@mail.gmail.com>
References: <CAGt3jCqiyVyzpWYwj1J=vPxhtzsKhLurWq_BowDKCuKgiPkX5A@mail.gmail.com>
	<CABvLTWGC2Db-Y3dne579gZh0Dx8usxpPxjfkpJP+r9_30Hsqew@mail.gmail.com>
	<CAGt3jCo=5BSFfLrWsxt1FPs0stUbhTJdJArZSeAZWdMKACUtDQ@mail.gmail.com>
	<4E6DDACF.5010405@gmail.com>
	<CAGt3jCoVNayoz9qXJ2QH3y6pRHjAEaOihyeUvqX-otNiayx+CA@mail.gmail.com>

albert <skarbat@gmail.com> 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



view thread (6+ messages)

Message-ID: <17626.1315868883@sss.pgh.pa.us>
Permalink:  ../17626.1315868883@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17626.1315868883@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, skarbat@gmail.com, aihtdikh@gmail.com
  Subject: Re: MSAccess to postgres on Windows Currency type problem
  In-Reply-To: <17626.1315868883@sss.pgh.pa.us>
  References: <CAGt3jCqiyVyzpWYwj1J=vPxhtzsKhLurWq_BowDKCuKgiPkX5A@mail.gmail.com> <CABvLTWGC2Db-Y3dne579gZh0Dx8usxpPxjfkpJP+r9_30Hsqew@mail.gmail.com> <CAGt3jCo=5BSFfLrWsxt1FPs0stUbhTJdJArZSeAZWdMKACUtDQ@mail.gmail.com> <4E6DDACF.5010405@gmail.com> <CAGt3jCoVNayoz9qXJ2QH3y6pRHjAEaOihyeUvqX-otNiayx+CA@mail.gmail.com> <17626.1315868883@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