Re: [OT] MySQL is bad, but THIS bad?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Mark Woodward <pgsql(at)mohawksoft(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [OT] MySQL is bad, but THIS bad?
Date: 2006-05-18 17:35:48
Message-ID: 446CB074.1000407@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

>
> 'k, so you want "pure PostgreSQL" ... but, shouldn't it be possible,
> with all of our CREATE FUNCTION / RULES / etc features to create a
> 'translation layer' that could be loaded, like anything else in contrib?

Sure but that isn't what was suggested :)

>
> Hell, even if it gave an initial "in" for MySQL software developers to
> get their code running on PostgreSQL, and then when they come out that
> "do this is slower under PostgreSQL", they could optimize their code
> appropriately?

I understand the idea but I personally don't like it. I am not really
interested in cross-database compatible code. 9 times out of 10 it is
hacky, slow and lacks a solid supportable model because you are always
taking into account *the other* databases the application supports.

And to be frank, I don't think we should waste our time on MySQL. It
isn't a competitor, it just thinks it is. We should focus on our real
competition which is DB2, MSSQL, and Oracle.

If we want to create contrib modules that have types etc... that help
port from Oracle to PostgreSQL or DB2 to PostgreSQL I am all for it.

The first thing that comes to mind is a set of domains that implement
Oracle types (names) as PostgreSQL types.

Here's a start ;)

postgres=# create domain varchar2 AS text;
CREATE DOMAIN
postgres=# create domain clob as text;
CREATE DOMAIN
postgres=# create domain blob as bytea;
CREATE DOMAIN
postgres=# create domain number as integer;
CREATE DOMAIN
postgres=#

Sincerely,

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Josh Berkus 2006-05-18 17:43:14 BOF for OSCON?
Previous Message Marc G. Fournier 2006-05-18 17:25:06 Re: [OT] MySQL is bad, but THIS bad?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-05-18 17:40:27 Re: Question about casts
Previous Message Marc G. Fournier 2006-05-18 17:25:06 Re: [OT] MySQL is bad, but THIS bad?