MySQL Forums
Forum List  »  PostgreSQL

Re: PostgreSQL-Dump to MySql
Posted by: Kyle Mechler
Date: June 26, 2008 09:59AM

I have a similar problem. This post was never answered, but I'm wondering if anyone has a reasonable solution now. I have a PostgreSQL dump file that is 217MB and I need to get the data into MySQL on Windows. I have the tables recreated, but the data need to be ported over.

PostgreSQL dump files re-import the data like such:
COPY <table_name> (<fields>) FROM stdin;
<tab delimited data>
\.

Should I simply write a php script to parse this whole beast, or has someone already had this problem and resolved it?

Options: ReplyQuote


Subject
Views
Written By
Posted
15702
October 25, 2005 06:58AM
Re: PostgreSQL-Dump to MySql
13376
June 26, 2008 09:59AM
7976
April 28, 2009 06:35AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.