Re: How to erase transaction logs on PostgreSQL

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: How to erase transaction logs on PostgreSQL
Дата
Msg-id CA+U5nMKz6ri9QUDgykrTEePm6h9aNP7yO8SknDOPy84v+900BA@mail.gmail.com
обсуждение исходный текст
Ответ на How to erase transaction logs on PostgreSQL  (Frank Church <voipfc@gmail.com>)
Список pgsql-general
On Thu, Mar 8, 2012 at 10:18 AM, Frank Church <voipfc@gmail.com> wrote:
> How do you purge the postgresql transaction log?
>
> I am creating a virtual machine image and I want to erase any transaction
> logs that got built up during development. What is the way to do that?

pg_resetxlog

> I am currently using 8.3 and 8.4.
>
> Is there the possibility that the logs saved in /var/log also contain
> security details?

I suggest you delete them.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: How to erase transaction logs on PostgreSQL
Следующее
От:
Дата:
Сообщение: Re: Call for Google Summer of Code (GSoC) 2012: Projectideas?