Repository navigation
Allow --replicas on Postgres branch create - #1537
Merged
Merged
Conversation
Member
Author
|
bugbot run |
no-itsbackpack
previously approved these changes
Nov 20, 2026
Member
Author
|
bugbot run |
Contributor
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit ace28d7. Configure here.
no-itsbackpack
approved these changes
Nov 21, 2026
nholden
marked this pull request as ready for review
November 21, 2026 01:27
Send --replicas on a normal PostgreSQL branch create, not only on backup restore or point-in-time recovery. The API validates the count against the cluster size. 0 is a single node. Co-authored-by: Nick Holden <nick.r.holden@gmail.com>
Drop the "not including the primary" wording. 0 is a single-node branch with no replicas; 2-8 is HA. Co-authored-by: Nick Holden <nick.r.holden@gmail.com>
cursor
Bot
force-pushed
the
cursor/branch-create-replicas-7b7c
branch
from
November 21, 2026 01:29
ace28d7 to
c26162c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pscale branch create --replicas Ncurrently works only for backup restores and point-in-time recovery. This lets a normal Postgres branch create take--replicastoo.0is a single-node branch with no replicas; 2-8 is HA. The API checks the count against the cluster size.Depends on https://github.com/planetscale/api-bb/pull/24236, which accepts
replicason normal Postgres branch create.planetscale/terraform-provider-planetscale#293
#1397