plpgsql_lint going to beta.
A PostgreSQL's plpgsql interpreter uses a two step checking. First
step is syntax checking when function is validated - it is done on
function's creation time or when function is executed first time in a
session. Second step - a deeper checks of embedded SQL and expressions
are done in runtime when SQL or expression is evaluated first time in
a session. This step is slower and this technique eliminates checking
of SQL or expressions that are never evaluated (but some errors can be
found too late).
plpgsql_lint ensures a deep validation of all embedded SQL and
expressions (not only evaluated) every time when function is started.
Source code and documentation living on GitHub
pgsql-announce by date
|Next:||From: Andreas 'ads' Scherbaum||Date: 2011-11-20 22:54:45|
|Subject: FOSDEM 2012 - PostgreSQL Devroom: Call for Speakers|
|Previous:||From: David Fetter||Date: 2011-11-14 06:57:12|
|Subject: == PostgreSQL Weekly News - November 13 2011 ==|