Re: How to erase transaction logs on PostgreSQL

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: voipfc(at)gmail(dot)com
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to erase transaction logs on PostgreSQL
Date: 2012-03-09 07:58:59
Message-ID: CA+U5nMKz6ri9QUDgykrTEePm6h9aNP7yO8SknDOPy84v+900BA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Mar 8, 2012 at 10:18 AM, Frank Church <voipfc(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mgould 2012-03-09 13:04:06 Re: Call for Google Summer of Code (GSoC) 2012: Project ideas?
Previous Message Guillaume Lelarge 2012-03-09 07:48:10 Re: How to erase transaction logs on PostgreSQL