Skip to content
SPECIFICTION
Get listed

GitHub CodeQL vs pgquarrel

GitHub CodeQL

codeql.github.com

pgquarrel

github.com

Side by side

FigureGitHub CodeQLpgquarrel
Price from$30/moFree
Free planYesYes
Free trial——
Open source——
WebYes—
WindowsYesYes
macOSYes—
LinuxYesYes
Self-hostedYesYes
Plans published51
Spec score · Database Schema Comparison Tools8.4 (#3)7.7 (#11)
PurposeCodeQL is a language and toolchain for code analysis that treats code as data.pgquarrel compares PostgreSQL database schemas (DDL) and outputs the differences as commands to make the target schema match the source.

Plans

GitHub CodeQL

  • Free for research and open sourceFree
  • GitHub Code Security$30 a month
  • CodeQL for open source and researchFree
  • GitHub Code Security$30 a month
  • GitHub Free with CodeQL code scanningPrice not published

GitHub CodeQL pricing →

pgquarrel

  • pgquarrelFree

pgquarrel pricing →

In their own words

GitHub CodeQL

GitHub CodeQL has no write-up on Specifiction yet; its figures are above.

Visit codeql.github.com

pgquarrel

pgquarrel compares PostgreSQL database schemas and produces SQL commands to bring a target schema in line with a source. It connects to PostgreSQL servers and reads catalog metadata directly, rather than depending on tools such as pg_dump. The project describes deploying schema changes to testing, staging, or production as its main use. Filters can narrow comparisons to selected object types or include and exclude schemas by pattern. Output goes to stdout by default, with options to save it to a file, print a summary, or place changes in one transaction. pgquarrel does not manipulate table data with INSERT, UPDATE, DELETE, or COPY. Its documented object coverage includes both complete and partial support; inheritance and roles are noted absences, and not all PostgreSQL objects are supported. Output may not work as expected when the source PostgreSQL version is newer than the target. The software is free under the BSD-3-Clause license, distributed as source through GitHub or a Git clone, and the listed latest release is 0.7.0.

Visit github.com