How to Install and Uninstall postgresql-13-plpgsql-check Package on Ubuntu 21.10 (Impish Indri)

Last updated: September 20,2024

1. Install "postgresql-13-plpgsql-check" package

Please follow the steps below to install postgresql-13-plpgsql-check on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install postgresql-13-plpgsql-check

2. Uninstall "postgresql-13-plpgsql-check" package

In this section, we are going to explain the necessary steps to uninstall postgresql-13-plpgsql-check on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove postgresql-13-plpgsql-check $ sudo apt autoclean && sudo apt autoremove

3. Information about the postgresql-13-plpgsql-check package on Ubuntu 21.10 (Impish Indri)

Package: postgresql-13-plpgsql-check
Architecture: amd64
Version: 1.15.2-1
Priority: optional
Section: universe/database
Source: plpgsql-check
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 572
Depends: postgresql-13, libc6 (>= 2.17)
Filename: pool/universe/p/plpgsql-check/postgresql-13-plpgsql-check_1.15.2-1_amd64.deb
Size: 258640
MD5sum: f123fe653d5f20d839a950244a23ecb5
SHA1: df9b2b825c69ba11693a89010740d51a687c9848
SHA256: 8bfaea2c05d62782905c155d57863b6fc461f468744d630a54e30081e4b49982
SHA512: 76134680dda6dddecef37807a2dc0890c7dfcd92b26dd4a5e7fe0bc212825c4a0e5c7ded32a37b17d6c991433024683f20b6287c39fb2ebc8e55625567932f55
Homepage: https://github.com/okbob/plpgsql_check
Description-en: plpgsql_check extension for PostgreSQL
plpgsql_check is the next generation of plpgsql_lint for PL/pgsql source code.
The SQL statements inside PL/pgSQL functions are checked for semantic errors.
.
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 against SQL injection vulnerability
Description-md5: 1cd172a8d9dfc067f31fcfdcf2cc9f2b

5. The same packages on other Linux Distributions