Re: youtube video on pgsql integrity

Поиск
Список
Период
Сортировка
От Chris Angelico
Тема Re: youtube video on pgsql integrity
Дата
Msg-id CAPTjJmouPU4uptHWokTn0-tvNiBR6SPj3BnjzAYKDX4enn54qg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: youtube video on pgsql integrity  (Ray Stell <stellr@vt.edu>)
Ответы Re: youtube video on pgsql integrity  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Re: youtube video on pgsql integrity  (Gavan Schneider <pg-gts@snkmail.com>)
Список pgsql-general
On Fri, Nov 30, 2012 at 2:00 AM, Ray Stell <stellr@vt.edu> wrote:
>
> On Nov 29, 2012, at 9:27 AM, Kevin Grittner wrote:
>> is everything shown there really
>> the behavior of the MySQL database itself?
>
> Good question.  I intend to install mysql one day to explore, but just can't find the time.  The particular engine is
notdisclosed and I've read some are better than others.... 

Far as I can see, none of the behaviour show there is the front end
(other than UI features like autocomplete). You should be able to
replicate everything demonstrated in that vid using any MySQL client.

I like his quoting of the error messages. MySQL: now()/0 -> NULL;
PostgreSQL: now()/0 -> "dude, what are you doing".

With at least some of the invalid-data-gets-modified examples, you can
tell MySQL to be more strict about things. However, the typical use of
MySQL is with those sorts of settings at their defaults. See:
http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html and note
that an application is always free to violate any of those rules it
likes.

PostgreSQL puts the responsibility on the database schema designer and
the database admin; MySQL puts the responsibility on the application
developer. PostgreSQL builds a database and lets applications talk to
it; MySQL lets an application store its data. There's a huge
philosophical difference there.

ChrisA


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

Предыдущее
От: Ray Stell
Дата:
Сообщение: Re: youtube video on pgsql integrity
Следующее
От: David Greco
Дата:
Сообщение: UPDATE syntax