Skip to content

Conversation

stevensJourney
Copy link
Collaborator

Overview

The currently restrict Postgres connections to ports in the range of [1024, 49151].

Certain local Postgres services, such as Supabase expose Postgres on port 54322 by default. This PR removes the restriction for connecting to "Ephemeral" ports (ports > 49151). This allows for easier local development with Supabase and potentially other databases.

The check for "Privileged" ports is still maintained.

@changeset-bot
Copy link

changeset-bot bot commented Nov 4, 2024

🦋 Changeset detected

Latest commit: f607509

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@powersync/service-core Patch
@powersync/service-image Patch
test-client Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@stevensJourney stevensJourney marked this pull request as ready for review November 4, 2024 08:07
@stevensJourney stevensJourney merged commit 6b72e6c into main Nov 4, 2024
8 checks passed
@stevensJourney stevensJourney deleted the feat/derestrict-pg-ports branch November 4, 2024 08:07
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