Re: Re: Re: Why PostgreSQL is not that popular as My

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Re: Re: Why PostgreSQL is not that popular as My
Дата
Msg-id 005c01c0639c$3c5930a0$1001a8c0@archonet.com
обсуждение исходный текст
Ответ на RE: Re: Re: Why PostgreSQL is not that popular as My  ("Robert D. Nelson" <RDNELSON@co.centre.pa.us>)
Список pgsql-general
----- Original Message -----
From: "Robert D. Nelson" <RDNELSON@co.centre.pa.us>
To: "Tom Lane" <tgl@sss.pgh.pa.us>
Cc: "Matthew" <matt@ctlno.com>; "pgsql-general"
<pgsql-general@postgresql.org>
Sent: Monday, December 11, 2000 3:23 PM
Subject: RE: [GENERAL] Re: Re: Why PostgreSQL is not that popular as My


>
> my2post anybody?
>
> Considering all the apps that have mysql code or mysql/php code in them,
> something that would go thru and fix code that wouldn't work, but wouldn't
> optimize either, and alert to code that doesn't have functional
equivalents
> that points to a FAQ they can look at or submit questions to, now that I'd
> love.

What I've done for my last couple of PHP/db projects is hack a little perl
script that generates SQL and PHP code to build data structures. That way
you just tag a field as indexed/unique and type phonenum and let the script
generate for the target db/lang.

At the moment, of course, too much tends to be hardwired :-(

Should be expanded and turned into a proper open-source package really -
there are plenty of people who try to support a lot of databases (twig
springs to mind). Haven't really got the round tuits at present, but if
anyone wants the code they're welcome to it.

- Richard Huxton


В списке pgsql-general по дате отправления:

Предыдущее
От: Dan Lyke
Дата:
Сообщение: mysql issues
Следующее
От: Andrew Nosenko
Дата:
Сообщение: Re: Memory Usage