---
title: "libpg-query 18.0.0 Breaking Changes on vcpkg | Since.dev"
description: "What each libpg-query release removed, renamed or changed: 5 breaking changes in 2 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/libpg-query
last_updated: 2026-12-04
---

# 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

Latest version `18.0.0`. [Source repository](https://github.com/pganalyze/libpg%5Fquery)

- From [17-6.2.4](#v-17-6-2-4) to [18.0.0](#v-18-0-0): 3 breaking changes in 1 version.

## libpg-query 18.0.0 breaking changes

libpg-query 18.0.0: 3 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](https://github.com/pganalyze/libpg%5Fquery/releases/tag/18.0.0)
- **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](https://github.com/pganalyze/libpg%5Fquery/releases/tag/18.0.0)
- **Behavior changed**  

Fingerprint output for aliases and schema names may change to match Postgres 18 behavior. [github.com](https://github.com/pganalyze/libpg%5Fquery/releases/tag/18.0.0)

## libpg-query 17-6.2.4 breaking changes

libpg-query 17-6.2.4: 2 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](https://github.com/pganalyze/libpg%5Fquery/releases/tag/17-6.2.4)
- **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](https://github.com/pganalyze/libpg%5Fquery/releases/tag/17-6.2.4)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
