| From: | Jim Mercer <jim(at)reptiles(dot)org> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | Mike Sears <msears(at)vianet(dot)ca>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: postgres via shell scripts |
| Date: | 2000-10-06 16:53:28 |
| Message-ID: | 20001006125328.Q22260@reptiles.org |
| Views: | Whole Thread | Raw Message | 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.
--
[ Jim Mercer jim(at)reptiles(dot)org +1 416 410-5633 ]
[ Reptilian Research -- Longer Life through Colder Blood ]
[ Don't be fooled by cheap Finnish imitations; BSD is the One True Code. ]
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ruslan P. Yawdoshak | 2000-10-06 16:55:41 | Question ! |
| Previous Message | Stephan Szabo | 2000-10-06 16:50:30 | Re: Checking number of entries |