EMPTYING A DATABASE

Поиск
Список
Период
Сортировка
От JORGE MALDONADO
Тема EMPTYING A DATABASE
Дата
Msg-id u2jf03943a01004290909i92620250za101370c6680556a@mail.gmail.com
обсуждение исходный текст
Ответы Re: EMPTYING A DATABASE  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-novice
I am developing a project in which, of course, information is fed to the DB for testing purposes and sometimes I need to get the DB clean, without any record.
What would be the best practice to delete all of the records and start testing with a blank DB?
Should I issue a DELETE command for every table? If this is the case then I need to take care of referential integrity dependency because I cannot delete parent records before child records.
 
With respect,
Jorge Maldonado

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

Предыдущее
От: Mick
Дата:
Сообщение: Re: pls help me to unsubscribe from this list.
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: EMPTYING A DATABASE