Re: Procedural Languages

Поиск
Список
Период
Сортировка
От Leif Biberg Kristensen
Тема Re: Procedural Languages
Дата
Msg-id 201205311803.31976.leif@solumslekt.org
обсуждение исходный текст
Ответ на Re: Procedural Languages  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
 Torsdag 31. mai 2012 17.07.19 skrev Merlin Moncure :
> 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.

I'm using plpgsql for string processing all the time, mostly with regexes, and
don't find it particularly awkward. That may of course be an example of the "If
all you've got is a hammer, all problems look like nails" syndrome. But I've
never felt a need for installing another pl language.

regards, Leif

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Procedural Languages
Следующее
От: Michael Nolan
Дата:
Сообщение: Re: Procedural Languages