Re: Buglist
От | scott.marlowe |
---|---|
Тема | Re: Buglist |
Дата | |
Msg-id | Pine.LNX.4.33.0308191329500.10096-100000@css120.ihs.com обсуждение исходный текст |
Ответ на | Re: Buglist (Bruno Wolff III <bruno@wolff.to>) |
Список | pgsql-general |
On Tue, 19 Aug 2003, Bruno Wolff III wrote: > On Tue, Aug 19, 2003 at 18:01:33 +0530, > Shridhar Daithankar <shridhar_daithankar@persistent.co.in> wrote: > > > > Few major differences I can see right here. Correct me on mysql side. > > > > - WAL log > > - Transactabl DDLs > > - Nested transactions coming soon to PG > > - PITR coming soon to PG > > Note that the last two are not coming soon as in 7.4, but as in maybe for 7.5. > Which I can't see being out in less than 6 months. Good point. We in no way need to point to future improvements anymore to say Postgresql is a better database than MySQL. Postgresql 7.3.4 is the best Open Source database in my humble opinion, and the things MySQL is missing are complex features that need to be well thought out and well implemented. Given the haphazard approach of MySQL to standards compliance, you are gambling your company on it's non-standard SQL sticking around if you use it, or hundreds of man hours replacing MySQL specific SQL if you ever convert. Examples: || In Postgresql || is the concatenation operator. Why, in god's name, is || the concatenation operator. Because the Spec says so. In MySQL it's the OR operator, contrary to spec. Their FKs silently fail without so much as a notice. Poof, no fks, but they swallow the syntax as if they do. They get precision wrong all the time. Spec says numeric(x1,y1) * numeric(x2,y2) yeilds numeric(size_of_int_portion.y1+y2) But in MySQL you get a numeric(size_of_int_portion,max(y1,y2)). Postgresql gives you the answer. create table mult (i1 numeric(10,2), i2 numeric(10,3)); insert into mult values (123.33,123.354); select i1*i2 from mult; MySQL output: +-----------+ | i1*i2 | +-----------+ | 15213.249 | +-----------+ Postgresql output: ?column? ------------- 15213.24882 I don't know if that's changed since 4.x came out, I gave up on MySQL for anything other than a text storage / content management engine long ago.
В списке pgsql-general по дате отправления: