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:33:18 |
Message-ID: | 200303201733.h2KHXIq16453@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Alvaro Herrera wrote:
> On Thu, Mar 20, 2003 at 12:25:03PM -0500, Bruce Momjian wrote:
> > Alvaro Herrera wrote:
> > > On Thu, Mar 20, 2003 at 11:58:25AM -0500, Bruce Momjian wrote:
> > > > 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.
>
> Then why not use libpq directly? Seems safer than depending on $PATH
> and who knows what else.
I guess you could do it in libpq, but how do you access that from the
command line. All these vacuumdb-like utilities are for the command
line.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian - CVS | 2003-03-20 17:37:46 | pgsql-server/doc/src/sgml/ref pg_ctl-ref.sgml |
Previous Message | Alvaro Herrera | 2003-03-20 17:31:29 | Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ... |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2003-03-20 17:39:12 | Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ... |
Previous Message | Alvaro Herrera | 2003-03-20 17:31:29 | Re: pgsql-server/ oc/src/sgml/manage-ag.sgml oc/sr ... |