Skip site navigation (1) Skip section navigation (2)

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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>,Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>,pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...
Date: 2003-03-20 17:25:03
Message-ID: 200303201725.h2KHP3j15190@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Alvaro Herrera wrote:
> On Thu, Mar 20, 2003 at 11:58:25AM -0500, Bruce Momjian wrote:
> > Tom Lane wrote:
> > > Peter Eisentraut <peter_e(at)gmx(dot)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?
> 
> I think an acceptable solution to Windows users is some kind of
> "service" that can run whatever is needed, whenever is needed.  Those
> poor Windows users don't have cron, remember.  IMHO this kind of tool is
> part of the Windows administration package and probably doesn't belong
> in the main distribution.
> 
> > That's why I am thinking of some wrapper that will loop through the
> > databases and run psql commands.
> 
> Written on what language?

Written in C as a command-line utility.

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

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2003-03-20 17:31:29
Subject: Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...
Previous:From: Alvaro HerreraDate: 2003-03-20 17:22:28
Subject: Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...

pgsql-committers by date

Next:From: Alvaro HerreraDate: 2003-03-20 17:31:29
Subject: Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...
Previous:From: Alvaro HerreraDate: 2003-03-20 17:22:28
Subject: Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group