Re: How to erase transaction logs on PostgreSQL

From: Achilleas Mantzios <achill(at)smadev(dot)internal(dot)net>
To: voipfc(at)gmail(dot)com, "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to erase transaction logs on PostgreSQL
Date: 2012-03-08 15:52:41
Message-ID: 201203081752.41556.achill@smadev.internal.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

one ultra dummy way would be to dump, back up, destroy the data dirs,
and any human /var/log files and then re-initdb and restore.

On Πεμ 08 Μαρ 2012 12:18:17 Frank Church 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?
>
> I am currently using 8.3 and 8.4.
>
> Is there the possibility that the logs saved in /var/log also contain
> security details?
>
> /voipfc

--
Achilleas Mantzios
IT DEPT

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lelarge 2012-03-08 16:23:37 Re: How to erase transaction logs on PostgreSQL
Previous Message Guillaume Lelarge 2012-03-08 15:41:22 Re: FDWs, foreign servers and user mappings