databases/plpgsql_check 2.10.10 FreeBSD
PostgreSQL extension to check PL/pgSQL code
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
7e47b446b4- License
- UNKNOWN
- Categories
- databases
- Package size
- 85.0 KiB, 221.2 KiB installed
Description
plpgsql_check is next generation of plpgsql_lint. It allows to check source code by explicit call plpgsql_check_function. PostgreSQL 9.4, 9.5, 9.6, 10, 11 are supported (Develop 12 is supported too). The SQL statements inside PL/pgSQL functions are checked by validator for semantic errors. These errors can be found by plpgsql_check_function.
Features:
- check fields of referenced database objects and types inside embedded SQL
- using correct types of function parameters
- unused variables and function argumens, unmodified OUT argumens
- partially detection of dead code (due RETURN command)
- detection of missing RETURN command in function
- try to identify unwanted hidden casts, that can be performance issue like unused indexes
- possibility to collect relations and functions used by function
- possibility to check EXECUTE stmt agaist SQL injection vulnerability
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/plpgsql_check | 2.10.10 |
| DragonFly | databases/plpgsql_check | 2.7.15 |
Install
Binary package:
pkg install postgresql18-plpgsql_check
From the ports tree:
cd /usr/ports/databases/plpgsql_check/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= postgresql18-plpgsql_check>0:databases/plpgsql_check
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.10.10 | 2.10.10 | 2.2.3 | 2.8.1 | 2.10.10 |
| FreeBSD:14:quarterly | 2.10.10 | 2.10.10 | n/a | 2.8.1 | 2.10.10 |
| FreeBSD:15:latest | 2.10.10 | 2.10.10 | n/a | 2.8.1 | 2.8.1 |
| FreeBSD:15:quarterly | 2.10.10 | 2.10.10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.10.10 | 2.10.10 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 12
Run dependencies 10
No port depends on this one.
Configuration
No options to configure.
- USES
- compiler:c11 gmake pgsql
- Service scripts
- none
Files
pkg-plist 3
- lib/postgresql/plpgsql_check.so
- share/postgresql/extension/plpgsql_check--.sql
- share/postgresql/extension/plpgsql_check.control
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| okbob-plpgsql_check-v2.10.10_GH0.tar.gz | 371530 | 19d5e460c83ba330469fc14074085fc1849a169b8b980b761a7bb7149d4d44ed |
Commit history 6
The latest 5 of 6 in the history this site was built from.