| From: | Frank Church <voipfc(at)gmail(dot)com> |
|---|---|
| To: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
| Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: How to erase transaction logs on PostgreSQL |
| Date: | 2012-03-09 00:09:27 |
| Message-ID: | CALgpEGf+i2VFe3fUauYY=A=0rup9WtibroemtX5gHVqwwuj6pQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 8 March 2012 16:23, Guillaume Lelarge <guillaume(at)lelarge(dot)info> wrote:
> On Thu, 2012-03-08 at 10:18 +0000, Frank Church wrote:
> > How do you purge the postgresql transaction log?
> >
>
> You don't. PostgreSQL does it for you.
>
> > 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?
> >
>
> The only security detail AFAIK would be passwords (if you set a password
> and log queries, the password will be in the logs... the only way to
> prevent that is to send it crypted).
>
>
>
What are the commands to accomplish that, ie getting PostgreSQL to erase
the logs?
> --
> Guillaume
> http://blog.guillaume.lelarge.info
> http://www.dalibo.com
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | pawel_kukawski | 2012-03-09 07:15:05 | Re: autovacuum and transaction id wraparound |
| Previous Message | Ondrej Ivanič | 2012-03-09 00:01:47 | Re: how to return the last inserted identity column value |