Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ... - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...
Date
Msg-id 200303201658.h2KGwPN11971@candle.pha.pa.us
Whole thread Raw
In response to Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...
List pgsql-committers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Christopher Kings-Lynne writes:
> >> Do you think we should replace them all with a utility called pg_maintain
> >> that can do all of them?
>
> > If you ask me, we could get rid of them completely because
> > for d in $(psql -l --somthing); do vacuum $d; done
> > seems perfectly fine.
>
> If you have a real shell (and know how to use it), sure.  Is such a
> solution acceptable to all those Windows users we're hoping to attract?

That's why I am thinking of some wrapper that will loop through the
databases and run psql commands.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...