Skip to content

Add V16 constant #129

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 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This library aims to require as little configuration as possible, favouring over
| Username | postgres |
| Password | postgres |
| Database | postgres |
| Version | 12.1.0 |
| Version | 15.3.0 |
| CachePath | $USER_HOME/.embedded-postgres-go/ |
| RuntimePath | $USER_HOME/.embedded-postgres-go/extracted |
| DataPath | $USER_HOME/.embedded-postgres-go/extracted/data |
Expand Down
3 changes: 2 additions & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Config struct {

// DefaultConfig provides a default set of configuration to be used "as is" or modified using the provided builders.
// The following can be assumed as defaults:
// Version: 14
// Version: 15
// Port: 5432
// Database: postgres
// Username: postgres
Expand Down Expand Up @@ -146,6 +146,7 @@ type PostgresVersion string

// Predefined supported Postgres versions.
const (
V16 = PostgresVersion("16.2.0")
V15 = PostgresVersion("15.3.0")
V14 = PostgresVersion("14.8.0")
V13 = PostgresVersion("13.11.0")
Expand Down
1 change: 1 addition & 0 deletions platform-test/platform_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (

func Test_AllMajorVersions(t *testing.T) {
allVersions := []embeddedpostgres.PostgresVersion{
embeddedpostgres.V16,
embeddedpostgres.V15,
embeddedpostgres.V14,
}
Expand Down