| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andreas 'ads' Scherbaum | 2011-11-20 22:54:45 | FOSDEM 2012 - PostgreSQL Devroom: Call for Speakers |
| Previous Message | David Fetter | 2011-11-14 06:57:12 | == PostgreSQL Weekly News - November 13 2011 == |