From: | mailings(at)oopsware(dot)de |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: add column sillyness |
Date: | 2003-12-10 12:00:48 |
Message-ID: | 200312101200.hBAC0mb31938@ks442.kasserver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
----- Original Message -----
From: thomasz(at)hostmaster(dot)org <Thomas Zehetbauer>
To: pgsql-general(at)postgresql(dot)org
Date: 05.12.2003 21:26:51
Subject: [GENERAL] add column sillyness
> Why do I have to use FOUR queries to accomplish the same result I can
> get from MySQL with only ONE query:
>
> alter table users add column $ColumnName text;
> alter table users alter column $ColumnName set default \'\';
> update users set t_shirt_size=\'\' where $ColumnName is null;
> alter table users alter column $ColumnName set not null;
>
> MySQL is CLEARLY SUPERIOR in terms of
> - usability
> - see above
> - performance
> - uses index for for min()/max()
> - reliability
> - no need to use vacuum
> - no need to dump and restore databases for version upgrade
> - never screwed up any of my databases
Please, read this carefully: http://sql-info.de/mysql/
> I would therefore urgently recommend that
> 1) development of postgresql shall be immediately ceased
> 2) any resources gained thereby (developers, mirrors) shall be donated
> to MySQL
> 3) code produced by the former postgresql developers shall be subject to
> a mandatory peer review before it is included in MySQL
Before blaming all the developers here, you should know that you are shooting without
any effective ammo.....
I am new to [hackers], i know, but i can\'t hold on me while reading this.
Bernd
From | Date | Subject | |
---|---|---|---|
Next Message | Nabil Sayegh | 2003-12-10 12:16:21 | Re: Alter Column Position |
Previous Message | John Sidney-Woollett | 2003-12-10 11:48:05 | JDBC function call: PS vs CS |