Re: Import German Decimal Numbers - Mailing list pgsql-general

From Dimitri Fontaine
Subject Re: Import German Decimal Numbers
Date
Msg-id 0729262F-6995-4FBF-B784-DD5F6569D2F0@hi-media.com
Whole thread Raw
In response to Re: Import German Decimal Numbers  (Tino Wildenhain <tino@wildenhain.de>)
List pgsql-general
Hi,

Le 7 mai 08 à 15:57, Tino Wildenhain a écrit :
> There is also http://pgfoundry.org/projects/pgloader/
> and if not already implemented it should be fairly
> easy to implement a data filter within this one.

pgloader indeed support user reformating modules, and comes with a
mysql to pgsql timestamp reformater. Adding a python .py module
containing one function to handle the change should be easy, the
documentation has needed details if you look for "reformat_path" and
"reformat" options.
   http://pgloader.projects.postgresql.org/

Plus, pgloader supports setting the DateStyle before running copy,
maybe this will be enough in your case? (didn't read all the thread).

If you need more help than current documentation to setup your
reformating module, please just ask!

Regards,
--
dim

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Problems with memory
Next
From: Dimitri Fontaine
Date:
Subject: Re: Custom Base Type in C