pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Clark C. Evans <clark.evans@manhattanproject.com>
To: SAKAIDA <sakaida@psn.co.jp>
Cc: hackers@postgreSQL.org
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] pgbash-1.1.1 release
Date: Thu, 14 Oct 1999 21:48:58 -0400 (EDT)
Message-ID: <Pine.LNX.4.10.9910142148240.10760-100000@distributedsystems.com> (raw)
In-Reply-To: <37F46FD92D0.D25FSAKAIDA@smtp.psn.ne.jp>


This works like a charm.  Thanks tons!

;) Clark

On Fri, 1 Oct 1999, SAKAIDA wrote:

> Hi,
> 
>   With many cooperators, I have made a *bash built-in command* for
> PostgreSQL called "pgbash".
> 
>   The pgbash is the system which offers the 'direct SQL'/'embedded
> SQL' interface for PostgreSQL by being included in the bash-2.x 
> shell. 
> 
> 
> Features of pgbash
> -------------------
> 
> 1.The pgbash has a function which is equivalent to psql except for
>   the interactive input processing function. 
> 
> 2.It is possible that pgbash carries out the interactive input
>   processing  using the hysteresis editing function ( history, !, 
>   fc command ) of bash.
> 
> 3.An output of retrieval result and database information of pgbash 
>   uses PSprint() which improved PQprint(). By PSprint(), it is 
>   possible to output by plain table type, plain table + outer frame 
>   type and HTML table type. And, it is possible to display NULL 
>   value string(like '-NULL-') and bit zero string(like '-0-').
> 
> 4.It is possible that pgbash manipulates multiple databases using
>   CONNECT, DISCONNECT and SET CONNECTION (or -d option ).
> 
> 5.The pgbash has a function which substitutes the retrieval result 
>   for the shell variable using FETCH INTO statement. 
> 
> 6.It is possible to set CGI mode. In CGI mode, the pgbash switches 
>   the output to HTML, and read the datat by GET/POST method, and 
>   read the data of HTTP_COOKIE.
> 
> 7.The pgbash sets "error code", "error message", "number of tuples",
>   etc to the shell variable. Therefore, it is possible to know the
>   condition after the SQL execution. 
> 
> 
>   Details is as follows.  
>   http://www.psn.co.jp/PostgreSQL/pgbash/index-e.html
> 
> # I am very glad, if many people will use the pgbash.
> 
> --
> Regards.
> 
> SAKAIDA Masaaki  -- Osaka, Japan 
> # Sorry, I am not good at English. 
> 
> 
> ************
> 




view thread (9+ messages)

Message-ID: <Pine.LNX.4.10.9910142148240.10760-100000@distributedsystems.com>
Permalink:  ../Pine.LNX.4.10.9910142148240.10760-100000@distributedsystems.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.10.9910142148240.10760-100000@distributedsystems.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: clark.evans@manhattanproject.com, sakaida@psn.co.jp, hackers@postgreSQL.org
  Subject: Re: [INTERFACES] pgbash-1.1.1 release
  In-Reply-To: <Pine.LNX.4.10.9910142148240.10760-100000@distributedsystems.com>
  References: <37F46FD92D0.D25FSAKAIDA@smtp.psn.ne.jp> <Pine.LNX.4.10.9910142148240.10760-100000@distributedsystems.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox