restoring a database to its initial state

Поиск
Список
Период
Сортировка
От Manlio Perillo
Тема restoring a database to its initial state
Дата
Msg-id 4B9B898E.5000003@gmail.com
обсуждение исходный текст
Ответы Re: restoring a database to its initial state  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: restoring a database to its initial state  (Adrian von Bidder <avbidder@fortytwo.ch>)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Usually when I need to restore a database to its initial state, what I
do is to simply drop it, and then re-create it.

However on a shared hosting this is not possible.

By initial state I mean:
  The content of template1 database
or
  The database without all objects owned by role X, and that can be
  re-created by X

where X is a role with normal privileges.


I searched on pgFoundry, without success.

It should not be hard to implement, but I would like to know if
something similar has already been implemented.



Thanks  Manlio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkubiY4ACgkQscQJ24LbaURhBgCdHHSop6sxE1iGhGScLgQxTs0y
F54An3uYbIA5NqXIb79n1IQZA4cKb7XQ
=sooF
-----END PGP SIGNATURE-----

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

Предыдущее
От: Angel
Дата:
Сообщение: Hints for postgresql package recompilation (FIXED)
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: restoring a database to its initial state