Menu
Squawk LogoSquawk LogoSquawkDocsRules
Quick StartGitHub
Squawk LogoSquawk LogoSquawk
  • Docs
  • Rules
  • Quick Start
  • GitHub
  • General
    • Quick Start
    • Applying migrations safely
    • CLI
    • GitHub Integration
    • Web Frameworks
    • Postgres locks and further reading
    • Troubleshooting
  • Rules
    • Rules Overview
    • adding-field-with-default
    • adding-foreign-key-constraint
    • adding-not-nullable-field
    • adding-serial-primary-key-field
    • ban-char-field
    • ban-drop-database
    • changing-column-type
    • constraint-missing-not-valid
    • disallowed-unique-constraint
    • prefer-robust-stmts
    • prefer-text-field
    • renaming-column
    • renaming-table
    • require-concurrent-index-creation
    • require-concurrent-index-deletion

Troubleshooting

If you encounter an issue using Squawk that can't be resolved with these docs, please open an issue.

common error messages#

postgres failed to parse query#

Squawk was unable to parse the query using the PostgreSQL parser.

Usually the provided statement contains an error and isn't a valid Postgres statement.

Squawk uses the libpg_query-sys Rust bindings to libpg_query 10-1.0.2 to parse Postgres queries using the Postgres parser.

Edit this page
Previous
« Postgres locks and further reading
Next
Rules Overview »
  • common error messages
    • postgres failed to parse query

Docs

  • Quick Start
  • Rules

More

  • GitHub
  • Changelog
  • Help
Copyright © 2022 Squawk Authors.