Re: How to query pgsql from a BASH script ?

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Michelle Konzack <linux4michelle(at)freenet(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to query pgsql from a BASH script ?
Date: 2005-04-04 16:39:33
Message-ID: Pine.LNX.4.44.0504041836180.20050-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> Thanks I will heck it out immediatly...
>
> "pgbash" is a real killer but I can not apply
> the patches becasue it ends in a error.
>

pgbash is nice, but without actualisation. You have to use good version of
bash,

[stehule(at)stehule stehule]$ pgbash --version
GNU bash, version 2.05a.0(1)-release (i586-pc-linux-gnu)
Copyright 2001 Free Software Foundation, Inc.

Pavel

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sibtay Abbas 2005-04-04 16:50:16 Checking cursor's state in plpgsql
Previous Message Alvaro Herrera 2005-04-04 16:37:09 Re: Raise Exception