From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | Jeff Davis <list-pgsql-hackers(at)empires(dot)org> |
Cc: | Antti Haapala <antti(dot)haapala(at)iki(dot)fi>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: MySQL vs PostgreSQL. |
Date: | 2002-10-11 21:14:16 |
Message-ID: | Pine.LNX.4.33.0210111513090.1778-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-jdbc |
On Fri, 11 Oct 2002, Jeff Davis wrote:
> > They also state that they have more sophisticated ALTER TABLE...
> >
> > Only usable feature in their ALTER TABLE that doesn't (yet) exist in
> > PostgreSQL was changing column order (ok, the order by in table creation
> > could be nice), and that's still almost purely cosmetic. Anyway, I could
> > have used that command yesterday. Could this be added to pgsql.
> >
>
> I agree with your message except for that statement. MySQL alter table
> provides the ability to change column types and cast the records
> automatically. I remember that feature as really the only thing from MySQL
> that I've ever missed.
>
> Of course, it's not that wonderful in theory. During development you can
> easily drop/recreate the tables and reload the test data; during production
> you don't change the data types of your attributes.
>
> But in practice, during development it's handy sometimes.
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.
From | Date | Subject | |
---|---|---|---|
Next Message | snpe | 2002-10-11 21:18:03 | Re: Out of memory error on huge resultset |
Previous Message | Jeff Davis | 2002-10-11 21:05:46 | Re: MySQL vs PostgreSQL. |
From | Date | Subject | |
---|---|---|---|
Next Message | snpe | 2002-10-11 21:18:03 | Re: Out of memory error on huge resultset |
Previous Message | Jeff Davis | 2002-10-11 21:05:46 | Re: MySQL vs PostgreSQL. |
From | Date | Subject | |
---|---|---|---|
Next Message | snpe | 2002-10-11 21:18:03 | Re: Out of memory error on huge resultset |
Previous Message | Jeff Davis | 2002-10-11 21:05:46 | Re: MySQL vs PostgreSQL. |