Is there an utility to convert mysql query in postgresql query ?
+1
A:
For DDL you can use mysqldump (see http://en.wikibooks.org/wiki/Converting_MySQL_to_PostgreSQL)
mysqldump --compatible=postgresql databasename > outputfile.sql
For DML I don't know of a tool that would automatically adjust queries from MySQL to PostgreSQL.
halfdan
2010-06-01 10:14:36