add --postgres-version semver filter flag to 'postgres ls' - #389
Merged
Merged
Conversation
Contributor
|
cloud-go v0.35.0 was released. |
TLINDEN
force-pushed
the
postgres-add-semver-filter
branch
from
September 21, 2026 06:29
bb740bf to
2058edb
Compare
Collaborator
Author
|
Rebased. Also I tested the new flag in the test stage: $ d postgres ls -o template --template "{{.id}} {{.version}}" --postgres-version ">=16"
6127cdcc-82c9-41f7-8b22-97fe2d318a97 17
6e723e4c-ec75-48d5-a86d-33fb57c9457b 17
732271e0-7a31-4041-a811-9668b3f15ab5 16
ca41bdc7-28c0-4f1d-852d-cca00cf4842d 17
eab3653c-6c95-4ce6-98a6-37ff6574149d 17
$ d postgres ls -o template --template "{{.id}} {{.version}}" --postgres-version "<17"
732271e0-7a31-4041-a811-9668b3f15ab5 16
a3cb9c7b-0c8f-403b-855c-9fbdb71b06c0 12
$ d postgres ls -o template --template "{{.id}} {{.version}}" --postgres-version "12"
a3cb9c7b-0c8f-403b-855c-9fbdb71b06c0 12 |
TLINDEN
marked this pull request as ready for review
September 21, 2026 07:53
mwennrich
approved these changes
Sep 21, 2026
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.
The new flag enables operators to filter postgreses by version using semver filters. For instance, these would be valid calls: