Re: [GENERAL] Need concrete "Why Postgres not MySQL"

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: [GENERAL] Need concrete "Why Postgres not MySQL"
Дата
Msg-id 031601c36878$48f36220$2800a8c0@mars
обсуждение исходный текст
Ответ на Re: [GENERAL] Need concrete "Why Postgres not MySQL"  (Hornyak Laszlo <kocka@tigrasoft.hu>)
Ответы Re: [GENERAL] Need concrete "Why Postgres not MySQL"  (Richard Huxton <dev@archonet.com>)
Список pgsql-advocacy
> Can someone explain me why is it usefull if the table created in
> transaction disapears on rollback?

Because then you can write big scripts like we do at work to install a new
feature in the live database.  Such a script might create two new tables,
add columns to existing tables, drop and recreate some foreign keys, etc.
What you do is to test it you go 'begin;' and then execute the script.  If
it all worked, commit, else rollback and fix the script.  Repeat until you
get it right.

Chris


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

Предыдущее
От: Hornyak Laszlo
Дата:
Сообщение: Re: [GENERAL] Need concrete "Why Postgres not MySQL"
Следующее
От: Autoresponder
Дата:
Сообщение: Re: Wicked screensaver