From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>, "Hornyak Laszlo" <kocka(at)tigrasoft(dot)hu>, <pgsql-advocacy(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] Need concrete "Why Postgres not MySQL" |
Date: | 2003-08-22 08:29:32 |
Message-ID: | 200308220929.32459.dev@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-advocacy pgsql-general pgsql-hackers |
On Friday 22 August 2003 07:40, Christopher Kings-Lynne wrote:
> > 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.
Exactly - I'm currently finalising a schema in conjunction with a client who's
working with some telecoms control equipment. Being able to modify tables and
copy-forward the data inside a transaction is very useful.
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2003-08-22 08:29:57 | Re: [GENERAL] [pgsql-advocacy] Need concrete "Why Postgres |
Previous Message | Andrew Dunstan | 2003-08-22 08:02:17 | Re: [GENERAL] [pgsql-advocacy] Need concrete 'Why Postgres |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2003-08-22 08:29:57 | Re: [GENERAL] [pgsql-advocacy] Need concrete "Why Postgres |
Previous Message | Andrew Dunstan | 2003-08-22 08:02:17 | Re: [GENERAL] [pgsql-advocacy] Need concrete 'Why Postgres |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2003-08-22 08:29:57 | Re: [GENERAL] [pgsql-advocacy] Need concrete "Why Postgres |
Previous Message | Andrew Dunstan | 2003-08-22 08:02:17 | Re: [GENERAL] [pgsql-advocacy] Need concrete 'Why Postgres |