Skip to content

Commit

Permalink
Add V16 constant (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzFelix authored Feb 28, 2024
1 parent cc72095 commit 3c05535
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
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

0 comments on commit 3c05535

Please sign in to comment.