Skip site navigation (1) Skip section navigation (2)

Re: Procedural Languages

From: Leif Biberg Kristensen <leif(at)solumslekt(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Procedural Languages
Date: 2012-05-31 16:03:31
Message-ID: 201205311803.31976.leif@solumslekt.org (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-general by date

Next:From: Michael NolanDate: 2012-05-31 17:20:48
Subject: Re: Procedural Languages
Previous:From: Merlin MoncureDate: 2012-05-31 15:07:19
Subject: Re: Procedural Languages

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group