Skip to content

Multi-tenant #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 14, 2025
Merged

Multi-tenant #161

merged 8 commits into from
May 14, 2025

Conversation

levkk
Copy link
Collaborator

@levkk levkk commented May 14, 2025

Description

  • Support for checking tenant_id on all queries that touch tables with that column. The column is configurable in pgdog.toml. This protects the app from forgetting to include the tenant ID in a query.
  • Fix bug around routing SET inside a transaction: if the cluster is read-only, send it to a replica. Error when not declaring primary for read only DB #162

@levkk levkk marked this pull request as ready for review May 14, 2025 19:40
@levkk levkk merged commit 929df26 into main May 14, 2025
4 checks passed
@levkk levkk deleted the lev-multi-tenant branch May 14, 2025 20:23
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