Re: rollback

Поиск
Список
Период
Сортировка
От Adrian Moisey
Тема Re: rollback
Дата
Msg-id 4874CBF2.9050209@careerjunction.co.za
обсуждение исходный текст
Ответ на Re: rollback  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Ответы Re: rollback  ("Merlin Moncure" <mmoncure@gmail.com>)
Re: rollback  (Klint Gore <kgore4@une.edu.au>)
Список pgsql-general
Hi

>>>> I would like to be able to "mark" a point in my postgres database.
>>>> After that I want to change a few things and "rollback" to that point.
>>>> Does postgres support such a thing?  Is it possible for me to do this?
>>> Well, transactions do that. If you want to do this inside a
>>> transaction, the term you're looking for is "savepoints".
>> I would like to do this globally over the entire DB, is that possible?
>
> Sure. You can start a transaction, create tables, drop tables, do
> inserts and deletes, update some tables, create and delete functions,
> triggers, views and schemas. After that, rollback. No problem.

Can I do this outside of a transaction?

--
Adrian Moisey
Systems Administrator | CareerJunction | Your Future Starts Here.
Web: www.careerjunction.co.za | Email: adrian@careerjunction.co.za
Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: rollback
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: rollback