Commit Graph

3 Commits

Author SHA1 Message Date
Mario Rodas
d7f41d45ac squawk: 0.21.0 -> 0.22.0
https://github.com/sbdchd/squawk/releases/tag/v0.22.0
2023-03-25 04:20:00 +00:00
Mario Rodas
5e0646d8db squawk: 0.20.0 -> 0.21.0
https://github.com/sbdchd/squawk/releases/tag/v0.21.0
2023-02-17 04:20:00 +00:00
Andrew Smith
206da52005 squawk: init at 0.20.0
Squawk is a useful tool for linting PostgreSQL DDL migrations for
potential downtime risks.

Squawk 0.20.0 was released without updating Cargo.lock, so I patched
that. There was also a test that failed because it snapshots the
internal version of the PostgreSQL parser and there was a minor version
difference. I patched that as well.

Each version of libpg_query corresponds to the PostgreSQL version from
which the parser code is extracted. There are slightly different
abstract syntax trees produced by different versions of PostgreSQL and
Squawk doesn't handle the latest one available in nixpkgs. Override it
just for Squawk.

I pulled this from 45bff9e87b.
2023-02-13 14:58:02 -08:00