From: Victor Yegorov <viy@pirmabanka.lv>
To: Postgres SQL <pgsql-sql@postgresql.org>
Subject: vacuum all but system tables
Date: Wed, 19 Mar 2003 10:38:46 +0200
Message-ID: <20030319083846.GB14195@pirmabanka.lv> (raw)
Hello.
I'd like to make a script to automatically vacuum all my DBs nightly. And
I'd like to skip system tables, starting with pg_*.
I've seen in the list archives somebody's solution using regexps,
something like:
$> vacuum analyze !~ ^pg_;
It doesn't work for me, and I cannot find the original post I've seen some
time ago.
I'm running:
`PostgreSQL 7.3.2 on i686-pc-linux-gnu, compiled by GCC 2.95.3'.
Maybe someone came across with this and could help?
--
Victor Yegorov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: viy@pirmabanka.lv
Subject: Re: vacuum all but system tables
In-Reply-To: <20030319083846.GB14195@pirmabanka.lv>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox