| От | Dimitri Fontaine |
|---|---|
| Тема | Re: Trying to load MySQL data |
| Дата | |
| Msg-id | 200701110032.54416.dim@dalibo.com обсуждение исходный текст |
| Ответ на | Trying to load MySQL data ("garrettmoore@gmail.com" <garrettmoore@gmail.com>) |
| Ответы |
Re: Trying to load MySQL data
|
| Список | pgsql-general |
Hi, Le mercredi 10 janvier 2007 02:54, garrettmoore@gmail.com a écrit : > I am working on a project where we are converting from MySQL to > Postgres. I figured the easiest way would be to export the MySQL data > as CSV. You could also give pgloader a try. It uses COPY but allows you to load good data even in the presence of errors, and have a reject file containing erroneous data lines, to replay insertion later. It even allows you to reorder data for matching your columns definition, but as of now suffer from a psycopg2 limitation : you have to provide all table columns into your data file. http://pgfoundry.org/projects/pgloader/ http://debian.dalibo.org/unstable/ http://debian.dalibo.org/unstable/pgloader_2.0.2.tar.gz Hope this helps, -- Dimitri Fontaine http://www.dalibo.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера