Queries for PostgreSQL DDL convert

From: 杨逸存 <1057206466(at)qq(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Queries for PostgreSQL DDL convert
Date: 2021-03-10 08:09:49
Message-ID: tencent_36662BE28A8545DF649B52E4D5C3A07F1005@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear hacker:
&nbsp; &nbsp; I am a student from Nanjing University. I have some troubles about DDL statement convertion. I have several MySQL DDL statements from&nbsp;MySQL dump command. Now I wanna convert the statements' grammar so that they can be supported by PostgreSQL. However I have tried the tool - 'SQL Data Definition Language (DDL) Conversion to MySQL, PostgreSQL and MS-SQL' on the wiki website of pgsql but it seems to have some bugs and it cannot convert contents of my .sql files. So is there any tools avaliable for me to accomplish it?
&nbsp; &nbsp; The mail's attachment is an example I wanna convert. Looking forward to your reply.
&nbsp; &nbsp; Yours sincerely.

Attachment Content-Type Size
broadleaf.base.schema.sql application/octet-stream 157.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message yuzuko 2021-03-10 08:19:13 Re: Release SPI plans for referential integrity with DISCARD ALL
Previous Message Fujii Masao 2021-03-10 08:08:51 Re: About to add WAL write/fsync statistics to pg_stat_wal view