Re: Postgres performance comments from a MySQL user - Mailing list pgsql-general

From Ron Johnson
Subject Re: Postgres performance comments from a MySQL user
Date
Msg-id 1055425830.16667.9.camel@haggis
Whole thread Raw
In response to Re: Postgres performance comments from a MySQL user  (Martin Marques <martin@bugs.unl.edu.ar>)
Responses Re: Postgres performance comments from a MySQL user
Re: Postgres performance comments from a MySQL user
Re: Postgres performance comments from a MySQL user
List pgsql-general
On Thu, 2003-06-12 at 08:05, Martin Marques wrote:
> On Mié 11 Jun 2003 12:29, Jonathan Bartlett wrote:
> >
> > 3) If your point was to move to a relational database, then you should
> > choose Postgres.  MySQL, although it's SQL, hardly qualifies as
> > relational
>
> MySQL doesn't have relations at all, unless you put the InnoDB module,
> which stamps down performance.
>
> An example I tried to do on a MySQL without InnoDB was:
>
> CREATE TABLE testing (
> id INT,
> word VARCHAR(20) REFERENCES other_table("word")
> );
>
> (knowing that other_table exists (I prefiously created it) and has word as
> a VARCHAR(20) field).
>
> An error is what I got.

A table *is* a relation.  You seem to be referring to foreign keys.
Maybe MySQL has a different syntax?

--
+-----------------------------------------------------------+
| Ron Johnson, Jr.     Home: ron.l.johnson@cox.net          |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson |
|                                                           |
| Regarding war zones: "There's nothing sacrosanct about a  |
| hotel with a bunch of journalists in it."                 |
|     Marine Lt. Gen. Bernard E. Trainor (Retired)          |
+-----------------------------------------------------------+


pgsql-general by date:

Previous
From: Network Administrator
Date:
Subject: Re: Postgres performance comments from a MySQL user
Next
From: "Williams, Travis L, NPONS"
Date:
Subject: Re: How to change column type in PostgreSQL 7.1.2