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

plpgsql_lint beta is released

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: pgsql-announce(at)postgresql(dot)org
Subject: plpgsql_lint beta is released
Date: 2011-11-15 08:14:48
Message-ID: CAFj8pRB7tif+CH0HRmzWq9phHqoJ8EK_02K3JYq0ph_RX0C+LQ@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-announce
Hello all,

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
https://github.com/okbob/plpgsql_lint

Regards

Pavel Stehule

pgsql-announce by date

Next:From: Andreas 'ads' ScherbaumDate: 2011-11-20 22:54:45
Subject: FOSDEM 2012 - PostgreSQL Devroom: Call for Speakers
Previous:From: David FetterDate: 2011-11-14 06:57:12
Subject: == PostgreSQL Weekly News - November 13 2011 ==

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