Re: Import German Decimal Numbers

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Import German Decimal Numbers
Дата
Msg-id 0729262F-6995-4FBF-B784-DD5F6569D2F0@hi-media.com
обсуждение исходный текст
Ответ на Re: Import German Decimal Numbers  (Tino Wildenhain <tino@wildenhain.de>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Problems with memory
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Custom Base Type in C