When I saw this was a PHP project: https://dl.dropboxusercontent.com/u/31250/gifs/no-thanks.gif
Really? What does the language it's written in have to do with anything at all here?
MySQL to PostgreSQL converter
21–30 of 37 posts
Re: MySQL to PostgreSQL converter
#22I would recommend using pgloader ( http://pgloader.io/ ) instead. It is simple to use in the default case, but can be configured with rules for how data types should be converted if necessary. It can also clean up weird timestamps like 0000-00-00 00:00:00.
Re: MySQL to PostgreSQL converter
#23I would recommend using pgloader ( http://pgloader.io/ ) instead. It is simple to use in the default case, but can be configured with rules for how data types should be converted if necessary. It can also clean up weird timestamps like 0000-00-00 00:00:00.
Re: MySQL to PostgreSQL converter
#24Re: MySQL to PostgreSQL converter
#25Re: MySQL to PostgreSQL converter
#26I find the more difficult issue to be rewriting bulk "insert ignore" and "on duplicate key" queries.
Re: MySQL to PostgreSQL converter
#27No foreign key support is kind of a deal-breaker. Hard to believe anyone who is actually in the position of needing this would have a schema so simple that it contains no foreign keys.
or complex
Re: MySQL to PostgreSQL converter
#28I find the more difficult issue to be rewriting bulk "insert ignore" and "on duplicate key" queries.
Yeah, seems like postgres is the only database that doesn't support those things. I mean, I use postgres, but I curse the lack of this feature regularly.
Re: MySQL to PostgreSQL converter
#29I would recommend using pgloader ( http://pgloader.io/ ) instead. It is simple to use in the default case, but can be configured with rules for how data types should be converted if necessary. It can also clean up weird timestamps like 0000-00-00 00:00:00.
Re: MySQL to PostgreSQL converter
#30I would recommend using pgloader ( http://pgloader.io/ ) instead. It is simple to use in the default case, but can be configured with rules for how data types should be converted if necessary. It can also clean up weird timestamps like 0000-00-00 00:00:00.
Upvote for pgloader. Moving data from SQL Server into Postgres with PGLoader has been fairly seamless and the maintainer is very responsive on Github.
EDIT I see it now. Still, anything that you think useful would be great :)