Re: postgres via shell scripts - Mailing list pgsql-general

From Bruce Momjian
Subject Re: postgres via shell scripts
Date
Msg-id 200010091754.NAA15966@candle.pha.pa.us
Whole thread Raw
In response to Re: postgres via shell scripts  (Jim Mercer <jim@reptiles.org>)
List 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Table locks
Next
From: Bruce Momjian
Date:
Subject: Re: Table locks