Re: postgres via shell scripts

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jim Mercer <jim(at)reptiles(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Mike Sears <msears(at)vianet(dot)ca>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgres via shell scripts
Date: 2000-10-09 17:54:33
Message-ID: 200010091754.NAA15966@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Fri, Oct 06, 2000 at 06:05:41PM +0200, Peter Eisentraut wrote:
> > Mike Sears writes:
> > > Is there away to access a postgres database using a shell script, like bash
> > > or korn?
> >
> > There's pgbash, which might be what you want, but I've never tried it.
> > Of course psql works as well. Processing several output rows with more
> > than one field might pose a problem in any case.
>
> one day, i'm gonna hack up a pgawk.
>
> i think that would be most awesome.

More properly, that would be "awksome."

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-10-09 18:00:37 Re: Table locks
Previous Message Bruce Momjian 2000-10-09 17:52:40 Re: Access to PGSQL