Re: Users in pg_shadow

From: Frank Miles <fpm(at)u(dot)washington(dot)edu>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Scott Holmes <sholmes(at)pacificnet(dot)net>, PG-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Users in pg_shadow
Date: 2001-03-02 01:08:07
Message-ID: Pine.A41.4.33.0103011706100.55692-100000@mead5.u.washington.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

One possible part of a cron script:

su --command="psql -d $PGUSER -c 'vacuum analyze;' > /dev/null" $PGUSER

where 'PGUSER' has been defined as the appropriate user name. Of course,
you'll need a bit more if your database has a different name.

HTH...

-frank

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Humphries 2001-03-02 03:30:22 pgsql and *nix filesystems combo?!
Previous Message David Lynn 2001-03-02 00:48:43 Perl & DBI/DBD::Pg confusion with finish