From: Igal @ Lucee.org <igal@lucee.org>
To: Michelle Konzack <michelle.konzack@tamay-dogan.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Scheme conversion MySQL to PGSQL
Date: Sun, 24 Dec 2017 13:25:49 -0800
Message-ID: <e6b75077-9b98-ec24-5ee7-a2df5f1d3f6b@lucee.org> (raw)
In-Reply-To: <f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net>
References: <491331d0766626e73f6028b0462629fa.squirrel@webmail.tamay-dogan.net>
<D757B6EC-FA8E-477F-BE91-D3135C088CBF@a-kretschmer.de>
<1e666e62-f8f5-0a8d-db37-a98863aeb95d@lucee.org>
<f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net>
Michelle,
On 12/24/2017 1:20 PM, Michelle Konzack wrote:
> Hello Igal
>
> Am 2017-12-24 hackte Igal @ Lucee.org in die Tasten:
>> I am doing a similar thing migrating from SQL Server, and I am
>> considering to publish an open source Migrator.
>>
>> Can you tell me about some of the data types that you had to change
>> moving from MySQL to Postgres?
> I convert only those four CREATE TABLE from mySQL to pgSQL which
> is the forum pluging for squirrelmail.
>
> auto_increment -> serial
> int(NN) -> int
> datetime -> timestamptz (attention: it is NOT timestamp)
> longtext -> text
Thank you. My migration tool (written in Java) already supports
migrating a SQL Server database to Postgres with most data types.
Perhaps I will improve it further when I have some more time to support
MySQL source databases as well, in which case I will use the information
that you sent as a starting point.
Best,
Igal Sapir
Lucee Core Developer
Lucee.org <http://lucee.org/;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: igal@lucee.org, michelle.konzack@tamay-dogan.net
Subject: Re: Scheme conversion MySQL to PGSQL
In-Reply-To: <e6b75077-9b98-ec24-5ee7-a2df5f1d3f6b@lucee.org>
References: <491331d0766626e73f6028b0462629fa.squirrel@webmail.tamay-dogan.net> <D757B6EC-FA8E-477F-BE91-D3135C088CBF@a-kretschmer.de> <1e666e62-f8f5-0a8d-db37-a98863aeb95d@lucee.org> <f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net> <e6b75077-9b98-ec24-5ee7-a2df5f1d3f6b@lucee.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox