From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, Pierre C <lists(at)peufeu(dot)com>, francois(dot)perou(at)free(dot)fr, Josh Berkus <josh(at)agliodbs(dot)com>, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org, dpage(at)pgadmin(dot)org |
Subject: | Re: SQL compatibility reminder: MySQL vs PostgreSQL |
Date: | 2010-03-08 17:43:38 |
Message-ID: | 20100308174338.GG8996@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-advocacy pgsql-hackers |
On Mon, Mar 08, 2010 at 12:18:31PM -0500, Robert Haas wrote:
> On Mon, Mar 8, 2010 at 12:10 PM, David Fetter <david(at)fetter(dot)org> wrote:
> > On Mon, Mar 08, 2010 at 11:58:20AM -0500, Jaime Casanova wrote:
> >> On Mon, Mar 8, 2010 at 4:17 AM, Pierre C <lists(at)peufeu(dot)com> wrote:
> >> >
> >> >> My opinion is that PostgreSQL should accept any MySQL syntax
> >> >> and return warnings. I believe that we should access even
> >> >> innodb syntax and turn it immediately into PostgreSQL tables.
> >> >> This would allow people with no interest in SQL to migrate
> >> >> from MySQL to PostgreSQL without any harm.
> >> >
> >> > A solution would be a SQL proxy (a la pgpool) with query
> >> > rewriting.
> >>
> >> This sounds like a better idea...
> >
> > Aside from that little "halting problem" issue, it sounds
> > wonderful. You do know that SQL is Turing-complete, right?
>
> That seems largely irrelevant to the problem at hand. It's not
> impossible to do syntactic transformations from one Turing-complete
> langauge to another; if it were, there could be no such thing as a
> compiler.
MySQL's SQL isn't Turing complete.
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-03-08 18:04:07 | Re: SQL compatibility reminder: MySQL vs PostgreSQL |
Previous Message | Robert Haas | 2010-03-08 17:18:31 | Re: SQL compatibility reminder: MySQL vs PostgreSQL |
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2010-03-08 17:55:14 | Re: Safe security |
Previous Message | David E. Wheeler | 2010-03-08 17:41:35 | Re: Safe security |