libpg-query breaking changes
libpg-query 18.0.0 is its newest release with breaking changes, 3 of them. The first: PL/pgSQL parsing reworked to use proper type definitions in libpg-query 18.0.0. Every breaking API change we have recorded in libpg-query on vcpkg: 5 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 18.0.0. Source repository
libpg-query 18.0.0 breaking changes
- Behavior changed
PL/pgSQL parsing now imitates actual CREATE FUNCTION logic and compilation, which can change parse results for PL/pgSQL code. github.com - Behavior changed
In Postgres 18 comments and whitespace between statements in a multi-statement string are excluded, so the next statement starts at its first non-whitespace, non-comment character. github.com - Behavior changed
Fingerprint output for aliases and schema names may change to match Postgres 18 behavior. github.com
libpg-query 17-6.2.4 breaking changes
- Behavior changed
PG_QUERY_DEPARSE_NO_STRICT_CHECKS
Bad input parse trees now produce an error instead of crashing; code can define PG_QUERY_DEPARSE_NO_STRICT_CHECKS to turn off the most detailed checks. github.com - Behavior changed
pg_query_normalize
New location fields (DefElem.arg_location, NotifyStmt.payload_location, CreateSubscriptionStmt.conninfo_location, AlterSubscriptionStmt.conninfo_location) appear in parse tree output. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.