Re: How to erase transaction logs on PostgreSQL - Mailing list pgsql-general

From Simon Riggs
Subject Re: How to erase transaction logs on PostgreSQL
Date
Msg-id CA+U5nMKz6ri9QUDgykrTEePm6h9aNP7yO8SknDOPy84v+900BA@mail.gmail.com
Whole thread Raw
In response to How to erase transaction logs on PostgreSQL  (Frank Church <voipfc@gmail.com>)
List 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 by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: How to erase transaction logs on PostgreSQL
Next
From:
Date:
Subject: Re: Call for Google Summer of Code (GSoC) 2012: Projectideas?