okbob / plpgsql_lint Goto Github PK
View Code? Open in Web Editor NEWThis is a postgresql extension that ensure a deep validation of embedded SQL inside PL/pgSQL functions
License: Other
This is a postgresql extension that ensure a deep validation of embedded SQL inside PL/pgSQL functions
License: Other
The installation instructions say that plpgsql_lint must be placed into PostgreSQL's ./contrib/ directory. In fact, this is not necessary, at least not for versions 9.2+ -- the PGXS build steps work fine on these recent versions. AFAICT, versions 9.1 or older must still be built inside ./contrib/ though, because this bit of the Makefile:
override CFLAGS += -I$(top_builddir)/src/pl/plpgsql/src
is needed to pick up plpgsql.h from the source directory on these old versions.
I think the Makefile could look at MAJORVERSION and only insist on being built inside of ./contrib/ if it's being built against 9.1 or older.
This extension can run on Windows 10?
Please help me how to build and run on Windows OS?
Thanks,
I'm working with Greenplum, an MPP system built atop Postgres, and am looking for a linter for the SQL developers write where I can write my own rules. would it be possible to do that with this project?
Hi,
I wonder what is the rationale behind making plpgsql.enable_lint PGC_SUSET? Are there any adverse consequences in allowing this option to be set by non-privileged users?
Thank you.
Hi, when I'm executing
load 'plpgsql_lint';
in psql 3, i get :
postgres=# load 'plpgsql_lint';
ERREUR: can't load « /usr/lib/postgresql/9.1/lib/plpgsql_lint.so » : /usr/lib/postgresql/9.1/lib/plpgsql_lint.so: undefined symbol: plpgsql_parser_setup
postgres=#
********** Error **********
I'm on Debian testing
The compilation process was perfectly succesful
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.