Re: SQL from Linux command line

Поиск
Список
Период
Сортировка
От Mladen Gogala
Тема Re: SQL from Linux command line
Дата
Msg-id 4C38F299.1080004@vmsinfo.com
обсуждение исходный текст
Ответ на Re: SQL from Linux command line  (Scott Geller <geller.subscribe@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Scott Geller
Дата:
Сообщение: Re: SQL from Linux command line
Следующее
От: "Jens Wilke"
Дата:
Сообщение: Re: postgresql and pgadmin3