plpgsql_check - plpgsql_check is next generation of plpgsql_lint

  •        13

I founded this project, because I wanted to publish the code I wrote in the last two years, when I tried to write enhanced checking for PostgreSQL upstream. It was not fully successful - integration into upstream requires some larger plpgsql refactoring - probably it will not be done in next years (now is Dec 2013). But written code is fully functional and can be used in production (and it is used in production). So, I created this extension to be available for all plpgsql developers. If you like it and if you would to join to development of this extension, register yourself to postgresql extension hacking google group.

https://groups.google.com/forum/#!forum/postgresql-extensions-hacking
https://github.com/okbob/plpgsql_check

Tags
Implementation
License
Platform

   




Related Projects

pg_partman - Partition management extension for PostgreSQL

  •    PLpgSQL

pg_partman is an extension to create and manage both time-based and serial-based table partition sets. Native partitioning in PostgreSQL 10 is supported as of pg_partman v3.0.1. Note that all the features of trigger-based partitioning are not yet supported in native, but performance in both reads & writes is significantly better. Child table creation is all managed by the extension itself. For non-native, trigger function maintenance is also handled. For non-native partitioning, tables with existing data can have their data partitioned in easily managed smaller batches. For native partitioning, the creation of a new partitioned set is required and data will have to be migrated over separately.

Timescaledb - An open-source time-series database optimized for fast ingest and complex queries

  •    PLpgSQL

TimescaleDB is an open-source database designed to make SQL scalable for time-series data. It is engineered up from PostgreSQL, providing automatic partitioning across time and space (partitioning key), as well as full SQL support. TimescaleDB is packaged as a PostgreSQL extension and released under the Apache 2 open-source license.

postgis - PostGIS spatial database extension to PostgreSQL [mirror]

  •    PLpgSQL

This file is here to play nicely with modern code repository facilities. Actual readme is here. Official chat room is the #postgis channel on the freenode network.

bedquilt-core - A JSON document store on PostgreSQL

  •    PLpgSQL

BedquiltDB is a A JSON document-store built on PostgreSQL. Release packages for BedquiltDB can be found on pgxn.

xtuple - This repository contains the source code for the database schema for the PostBooks edition of xTuple ERP, xTuple's REST API core, and xTuple's web application core

  •    PLpgSQL

xTuple is open-source ERP and CRM software -- automated, integrated business process management and corporate relationship management. Learn more at xTuple.com. The code is managed by an eponymous company in Norfolk, VA, and our community stretches around the world. The xTuple client is a desktop app written in the cross-platform Qt framework. Many of our commercial customers are inventory-based manufacturers or distributors, and we have a fair amount of commercially-licensed code to specifically support these use-cases. That said, businesses of all sorts, even services-based companies, run their operations on our open-source core.


zson - ZSON is a PostgreSQL extension for transparent JSONB compression

  •    C

ZSON is a PostgreSQL extension for transparent JSONB compression. Compression is based on a shared dictionary of strings most frequently used in specific JSONB documents (not only keys, but also values, array elements, etc). In some cases ZSON can save half of your disk space and give you about 10% more TPS. Memory is saved as well. See docs/benchmark.md. Everything depends on your data and workload, though. Don't believe any benchmarks, re-check everything on your data, configuration, hardware, workload and PostgreSQL version.

audit-trigger - Simple, easily customised trigger-based auditing for PostgreSQL (Postgres)

  •    PLpgSQL

A simple, customisable table audit system for PostgreSQL implemented using triggers.

hypopg - Hypothetical Indexes for PostgreSQL

  •    C

HypoPG is a PostgreSQL extension adding support for hypothetical indexes. An hypothetical, or virtual, index is an index that doesn't really exists, and thus doesn't cost CPU, disk or any resource to create. They're useful to know if specific indexes can increase performance for problematic queries, since you can know if PostgreSQL will use these indexes or not without having to spend resources to create them. For more information on this extension usage, you can see this blog post.

gawk libraries for XML, PostgreSQL,...

  •    Awk

Dynamically loaded extension libraries for GNU AWK

Citus - Scalable PostgreSQL for multi-tenant and real-time workloads

  •    C

Citus is a distributed database that scales across commodity servers using transparent sharding and replication. Citus extends the underlying database rather than forking it, giving developers and enterprises the power and familiarity of a relational database. As an extension, Citus supports new PostgreSQL releases, and allows you to benefit from new features while maintaining compatibility with existing PostgreSQL tools.

Peewee - a small, expressive orm, supports postgresql, mysql and sqlite

  •    Python

Peewee is a simple and small ORM. It has few (but expressive) concepts, making it easy to learn and intuitive to use.For flask helpers, check out the flask_utils extension module. You can also use peewee with the popular extension flask-admin to provide a Django-like admin interface for managing peewee models. It has built-in support for sqlite, mysql and postgresql.

pg_query - Ruby extension to parse, deparse and normalize SQL queries using the PostgreSQL query parser

  •    Ruby

This Ruby extension uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parsetree. In addition the extension allows you to normalize queries (replacing constant values with ?) and parse these normalized queries into a parsetree again.

pglogical - Logical Replication extension for PostgreSQL 9

  •    C

The pglogical extension provides logical streaming replication for PostgreSQL, using a publish/subscribe model. It is based on technology developed as part of the BDR project (http://2ndquadrant.com/BDR). To use pglogical the provider and subscriber must be running PostgreSQL 9.4 or newer.

postgrest-starter-kit - Starter Kit and tooling for authoring REST API backends with PostgREST

  •    PLpgSQL

Base project and tooling for authoring REST API backends with PostgREST. PostgREST enables a different way of building data driven API backends. It does "one thing well" and that is to provide you with a REST api over your database, however to build a complex production system that does things like talk to 3rd party systems, sends emails, implements real time updates for browsers, write integration tests, implement authentication, you need additional components. For this reason, some developers either submit feature requests that are not the scope of PostgREST or think of it just as a prototyping utility and not a powerful/flexible production component with excellent performance. This repository aims to be a starting point for all PostgREST based projects and bring all components together under a well defined structure. We also provide tooling that will aid you with iterating on your project and tools/scripts to enable a build pipeline to push everything to production. There are quite a few components in the stack but you can safely comment out pg_amqp_bridge/rabbitmq (or even openresty) instances in docker-compose.yml if you don't need the features/functionality they provide.

PostGIS - Spatial and Geographic objects for PostgreSQL

  •    C

PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL. PostGIS adds extra types (geometry, geography, raster and others) to the PostgreSQL database. It also adds functions, operators, and index enhancements that apply to these spatial types.

cstore_fdw - Columnar store for analytics with Postgres, developed by Citus Data

  •    C

Cstore_fdw is an open source columnar store extension for PostgreSQL. Columnar stores provide notable benefits for analytics use cases where data is loaded in batches. Cstore_fdw’s columnar nature delivers performance by only reading relevant data from disk, and it may compress data 6x-10x to reduce space requirements for data archival. Cstore_fdw is developed by Citus Data and can be used in combination with Citus, a postgres extension that intelligently distributes your data and queries across many nodes so your database can scale and your queries are fast. If you have any questions about how Citus can help you scale or how to use Citus in combination with cstore_fdw, please let us know.

logidze - Database changes log for Rails

  •    Ruby

Logidze provides tools for logging DB records changes. Just like audited and paper_trail do (but faster). Logidze allows you to create a DB-level log (using triggers) and gives you an API to browse this log. The log is stored with the record itself in JSONB column. No additional tables required. Currently, only PostgreSQL 9.5+ is supported (for PostgreSQL 9.4 try jsonbx extension).

slick-pg - Slick extensions for PostgreSQL

  •    Scala

Slick extensions for PostgreSQL, to support a series of pg data types and related operators/functions. ** Tested on PostgreSQL 10 with Slick 3.2.3. ** Java 8 is required.

activerecord-postgis-adapter - ActiveRecord connection adapter for PostGIS, based on postgresql and rgeo

  •    Ruby

The activerecord-postgis-adapter provides access to features of the PostGIS geospatial database from ActiveRecord. It extends the standard postgresql adapter to provide support for the spatial data types and features added by the PostGIS extension. It uses the RGeo library to represent spatial data in Ruby. First, it provides spatial migrations. It extends the ActiveRecord migration syntax to support creating spatially-typed columns and spatial indexes. You can control the various PostGIS-provided attributes such as srid, dimension, and geographic vs geometric math.