Re: SQL from Linux command line - Mailing list pgsql-novice

From Mladen Gogala
Subject Re: SQL from Linux command line
Date
Msg-id 4C38F299.1080004@vmsinfo.com
Whole thread Raw
In response to Re: SQL from Linux command line  (Scott Geller <geller.subscribe@gmail.com>)
List pgsql-novice
Scott Geller wrote:
>
> Thanks Mladen
>
> I'm a novice - if psgl is not a scripting language, can you please
> give me an example of one?  maybe perl?
>
> Thanks

No, psql is not a scripting language, psql is an ad-hoc query utility.
Scripting languages are numerous, among the most popular are Python, PHP
and Perl, but there are others, like Ruby.  I prefer Perl for the CLI
but, on the other hand, there are many people that do not share my
preferences.  The only reason for my preference is the fact that I've
been using Perl since 1994.  All of the above scripting languages, with
the possible exception of Ruby, support PostgreSQL.  I know nothing of
Ruby so I have no idea whether it supports PgSQL or not.
Python is becoming increasingly popular these days, because of its full
blown OO model, which Perl doesn't have. There is some mess with the
versions, like version 3 being slow to gain acceptance, but that should
get resolved soon.

--
Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
www.vmsinfo.com


pgsql-novice by date:

Previous
From: Scott Geller
Date:
Subject: Re: SQL from Linux command line
Next
From: "Jens Wilke"
Date:
Subject: Re: postgresql and pgadmin3