Re: newbie question

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Ignacio Coloma" <icoloma-lists(at)iverdino(dot)com>, "Mirco D'Angelo" <dangelo(at)isic(dot)org>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: newbie question
Date: 2002-07-09 06:39:53
Message-ID: GNELIHDDFBOCMGBFGEFOMEALCDAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> Transactions (well, recently mysql allows them but using propietary
> extensions), foreign key relationships, subqueries, stored
> procedures/triggers. MySQL lacks all of these.

MySQL's InnoDB tables have foreign keys, but they are RESTRICT only - ie.
they're kinda useless.

> On the other side, postgres is only ported on *nix platforms, but you
> can put cygwin/cygipc on Windows, if that is the case. And mysql is
> "friendlier", that means wrong column value types (INT_VALUE = '5') and
> double quotes working as simple quotes, so it's easier to start with.

It's a trap that 'easy to use' factor. Problem with MySQL is that they just
make up whole swathes of their SQL syntax out of whole cloth. They just
make it up. Then, when you go to use any other SQL-standard database on
Earth you have a rather painful learning and code conversion process. Just
talk to anyone who uses MySQL's date and time functions, ISNULL(field), or
'KEY's and stuff...

Poor newbies get to thinking that MySQL's way is the standard way, but it's
not. That's what happened to me, and my life has been a wonderful thing
ever since we ditched MySQL in favour of Postgres in our company!

Chris

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2002-07-09 06:45:28 Re: newbie question
Previous Message Bhuvan A 2002-07-09 04:40:58 Re: how to write procedures