Install sqlsmith by entering the following commands in the terminal:
sudo apt update sudo apt install sqlsmith
Description:
random SQL query generator
SQLsmith is a random SQL query generator. Its paragon is Csmith, which proved valuable for quality assurance in C compilers. . It currently supports generating queries for PostgreSQL 9.5 or later only. SQLsmith was designed with testing different versions and even products in mind, but this has not manifested yet. . Besides PostgreSQL developers, users developing extensions of PostgreSQL might also be interested in exposing their code to SQLsmith's random workload. . During its prototyping stage, it already found about thirty bugs in PostgreSQL alphas, betas and releases, including security vulnerabilities in released versions.
Homepage: https://github.com/anse1/sqlsmith
Version: 1.0-1build4
Section: universe/database