Re: calling vacuum from a script

From: David Dick <ddick(at)iinet(dot)net(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: calling vacuum from a script
Date: 2010-06-23 04:06:23
Message-ID: 4C21883F.5060704@iinet.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 23/06/10 13:44, Janet Jacobsen wrote:
> Hi. Is it possible to vacuum a table (vacuum full analyze)
> from a script. Currently I run the Postgres client and then
> run vacuum, but I'd like to automate the vacuum by calling
> it from a (Perl) script.

see attached for example.

Attachment Content-Type Size
vacuum.pl application/x-perl 410 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2010-06-23 04:53:03 Re: calling vacuum from a script
Previous Message Janet Jacobsen 2010-06-23 03:52:15 best way to check pgdump