From: | Sandeep Srinivasa <sss(at)clearsenses(dot)com> |
---|---|
To: | "Joshua J(dot) Kugler" <joshua(at)eeinternet(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: MySQL versus Postgres |
Date: | 2010-08-07 03:19:40 |
Message-ID: | AANLkTi=COHVNWbmvW0i3CyKVbSsguf90iJP-8wyyuC0m@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sat, Aug 7, 2010 at 12:29 AM, Joshua J. Kugler <joshua(at)eeinternet(dot)com>wrote:
>
> So, a "getting started" guide and/or cookbook would be great. Another
> cool idea: a MySQL -> PostgreSQL migration guide (I'm sure there's
> already one out there) that would show "To do *this* MySQL function in
> PostgreSQL, use this function/feature/etc." A good example is
> auto_increment -> serial. A comparison/contrast of permission would be
> good too. I'm sure others can think of more examples.
>
+1 on this.
This is very interesting from the point-of-view of transitioning MySQL
webapps to Postgres. The truth is that for a lot of people, MySQL is their
first DB (because of loads of pre-existing software. Refer to my thread
"Which CMS/Ecommerce/shopping cart"). When we are ready to move to PG, we
are already used to the MySQL way of doing things.
Take for example, the mysql command "*show databases"*. A commonly taught PG
equivalent is "*\l*". But, instead of mnemonics, I suppose "select datname
from pg_database;" would be more intuitive and easier to remember. Yes it is
longer, but it helps me understand what is going on behind the covers...
especially the cryptic "pg_" tables.
Another example is "*use <database>*" in mysql - I spent a long time
searching for a similar command in PG.
From | Date | Subject | |
---|---|---|---|
Next Message | PIC2010 | 2010-08-07 05:09:42 | 2010 International Conference on Progress in Informatics and Computing(PIC-2010 ) |
Previous Message | Joshua Tolley | 2010-08-07 00:13:18 | Foreign keys and permissions oddity |