Re: MySQL vs PostgreSQL.

Поиск
Список
Период
Сортировка
Искать
От
Jeff Davis
Тема
Re: MySQL vs PostgreSQL.
Дата
Msg-id
200210111908.18170.list-pgsql-hackers@empires.org
Ответ на
Re: MySQL vs PostgreSQL. (scott.marlowe)
Список
Дерево обсуждения
Re: Changing Column Order (Was Re: MySQL vs PostgreSQL.) Jan Wieck <JanWieck@Yahoo.com>
Re: Changing Column Order (Was Re: MySQL vs PostgreSQL.) Bruce Momjian <pgman@candle.pha.pa.us>
Re: Changing Column Order (Was Re: MySQL vs PostgreSQL.) Tom Lane <tgl@sss.pgh.pa.us>
Re: Changing Column Order (Was Re: MySQL vs PostgreSQL.) Bruce Momjian <pgman@candle.pha.pa.us>
>
> I still remember a post from somebody on the phpbuilder site that had
> changed a field from varchar to date and all the dates he had got changed
> to 0000-00-00.
>
> He most unimpressed, especially since he (being typical of a lot of MySQL
> users) didn't have a backup.
>

Ah, yes. Classic.

I was talking about a development scenario. Anyone who changes a huge amount 
of important data to a new form without a clearly defined algorithm is not 
making a wise choice. That's kind of like if you have a perl script operating 
on an important file: you don't want it to just kill all your data, so you do 
a few tests first.

And it really is a minor matter of convenience. I end up dropping and 
recreating all my tables a lot in the early stages of development, which is 
mildly annoying. Certainly not as bad, I suppose, as if you're led to believe 
that a feature does something safely, and it kills all your data.

So, you're right. It's probably better that it's never implemented.

Regards,Jeff


В списке pgsql-hackers по дате отправления
От: Giles Lean
Дата:
От: Alvaro Herrera
Дата:
Сообщение: Re: MySQL vs PostgreSQL.
FAQ