Re: Procedural Languages - Mailing list pgsql-general

From Leif Biberg Kristensen
Subject Re: Procedural Languages
Date
Msg-id 201205311803.31976.leif@solumslekt.org
Whole thread Raw
In response to Re: Procedural Languages  (Merlin Moncure <mmoncure@gmail.com>)
List 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 by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Procedural Languages
Next
From: Michael Nolan
Date:
Subject: Re: Procedural Languages