Skip to content

fix(paradedb): prevent extension from intercepting all HTTP requests#124

Merged
HarshCasper merged 4 commits intomainfrom
paradedb-fix
Feb 4, 2026
Merged

fix(paradedb): prevent extension from intercepting all HTTP requests#124
HarshCasper merged 4 commits intomainfrom
paradedb-fix

Conversation

@HarshCasper
Copy link
Member

Summary

  • Fix ParadeDB extension consuming all HTTP requests by overriding update_gateway_routes() to only set up TCP protocol routing
  • Skip HTTP proxy registration since PostgreSQL uses native TCP protocol, not HTTP

@HarshCasper HarshCasper requested a review from whummer February 4, 2026 10:08
whummer and others added 3 commits February 4, 2026 12:16
Adds a test to verify that the ParadeDB extension correctly handles
mixed protocol traffic - PostgreSQL wire protocol (TCP) for ParadeDB
queries alongside regular HTTP-based AWS API requests (S3, STS).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Member

@whummer whummer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kudos for adding this fix @HarshCasper . 🙌 I've added a small test to cover this functionality. Also left a TODO comment that we should definitely upstream this change into the base class in the utils package, but I can tackle that separately in a follow-up. 👍

@HarshCasper HarshCasper merged commit 9b818de into main Feb 4, 2026
1 check passed
@whummer whummer deleted the paradedb-fix branch February 4, 2026 11:56
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.

2 participants