Skip to content

Handle empty extended queries - #453

Open
Guflly wants to merge 1 commit into
sunng87:masterfrom
Guflly:fix/empty-extended-query
Open

Handle empty extended queries#453
Guflly wants to merge 1 commit into
sunng87:masterfrom
Guflly:fix/empty-extended-query

Conversation

@Guflly

@Guflly Guflly commented Aug 2, 2026

Copy link
Copy Markdown

Fixes #304.

Empty Parse messages now keep an empty statement instead of invoking the query parser. Describe and Execute return the protocol responses expected by PostgreSQL clients, including when handlers override the describe methods.

Tests:

  • cargo test -p pgwire
  • cargo test --test empty_extended_query
  • cargo check -p pgwire --examples
  • cargo check --manifest-path tests-integration/test-server/Cargo.toml
  • cargo clippy -p pgwire --lib -- -D warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Empty query in extended query

1 participant