Skip to content

Fix query encoding#19

Open
nik-localstack wants to merge 1 commit into
masterfrom
fix/query-encoding-regression
Open

Fix query encoding#19
nik-localstack wants to merge 1 commit into
masterfrom
fix/query-encoding-regression

Conversation

@nik-localstack
Copy link
Copy Markdown

@nik-localstack nik-localstack commented May 23, 2026

Motivation

While working on #18 this was observed as a bug.

Summary

  • decode and re-encode intercepted query text using the negotiated client_encoding
  • keep query interception working for non-UTF8 sessions instead of hardcoding UTF-8
  • add an end-to-end proxy test that exercises a LATIN1 client connection through the proxy

Testing

  • make start-pg-and-test

@nik-localstack nik-localstack self-assigned this May 23, 2026
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.

1 participant