Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9124D64FD13 for ; Wed, 30 Jul 2008 05:47:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 65518-03 for ; Wed, 30 Jul 2008 05:46:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail2.fintrading.com (mail.fintrading.com [195.2.100.100]) by postgresql.org (Postfix) with ESMTP id B703D64FCE1 for ; Wed, 30 Jul 2008 05:46:53 -0300 (ADT) Received: from chipmunk (unknown [81.198.70.254]) by mail2.fintrading.com (Postfix) with ESMTP id 528083807B53; Wed, 30 Jul 2008 11:46:30 +0300 (EEST) From: "Peter" To: "'Daniel Migowski'" Cc: References: <005b01c8ea53$f64a9fd0$e2dfdf70$@com> <001d01c8f14d$cdd715a0$698540e0$@com> <1217366613.5193.11.camel@peter-laptop> <48902552.6030308@ikoffice.de> <001701c8f21f$158ab920$40a02b60$@com> <489028D3.4050706@ikoffice.de> In-Reply-To: <489028D3.4050706@ikoffice.de> Subject: Re: numeric type Date: Wed, 30 Jul 2008 11:45:03 +0300 Message-ID: <002a01c8f220$8faeec20$af0cc460$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcjyH9O3N2Q03BdqQoqM16vg0muRngAAGonw Content-Language: en-us X-greatnowhere.com-MailScanner: Found to be clean X-greatnowhere.com-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.9, required 6, BAYES_00 -5.00, RDNS_NONE 0.10) X-greatnowhere.com-MailScanner-From: peter@greatnowhere.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200807/70 X-Sequence-Number: 18855 >> Long story. We're migrating old Access app to Postgres but still need >> to be able to exchange datasets with the old app users (app supports >> it's own import/export in MDB format). Since migration is expected to >> last several years we need some sort of automated PG->MDB thing. >> >Why don't you just make you converter configurable on how it handles >decimal without specs? I would need to hack Jackcess library in order to do that... besides it does not seem the proper way to do it, more like an ugly hack. getPrecision and getScale are supposed to return the true precision and scale after all... Peter