Re: Procedural Languages

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Procedural Languages
Дата
Msg-id CAHyXU0x0+O4dzEwRXt=EhXM264n8De_bgwPBpLt4HQTBadFaDw@mail.gmail.com
обсуждение исходный текст
Ответ на Procedural Languages  (John Townsend <jtownsend@advancedformulas.com>)
Ответы Re: Procedural Languages  (Leif Biberg Kristensen <leif@solumslekt.org>)
Список pgsql-general
On Thu, May 31, 2012 at 9:36 AM, John Townsend
<jtownsend@advancedformulas.com> wrote:
> There are least 10 Procedural Languages available for PostGreSQL. The one
> that comes with the installation is PL/pgSQL.
>
> Which ones do you use and why?

pl/pgsql is unique in that it has 'first class queries' -- sql is
intermixed freely with procedural code and it uses the same type
system and error handling mechanisms  (although the syntax is
different).   this directly translates into direct, impactful coding
as long as you are not trying to do things that are awkward for the
language like heavy computation or string processing.

the other languages have various pros and cons but at the end are
typically going to be judged by your familiarity with the particular
language.  I have a special fondness for pl/sh for example.

merlin

В списке pgsql-general по дате отправления:

Предыдущее
От: "R, Abhilash (HP Software)"
Дата:
Сообщение: PostgreSQL 9.0.4 crashing
Следующее
От: Leif Biberg Kristensen
Дата:
Сообщение: Re: Procedural Languages