Skip to content

Commit 1f28b50

Browse files
committed
Add V16 constant
1 parent cc72095 commit 1f28b50

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This library aims to require as little configuration as possible, favouring over
4141
| Username | postgres |
4242
| Password | postgres |
4343
| Database | postgres |
44-
| Version | 12.1.0 |
44+
| Version | 15.3.0 |
4545
| CachePath | $USER_HOME/.embedded-postgres-go/ |
4646
| RuntimePath | $USER_HOME/.embedded-postgres-go/extracted |
4747
| DataPath | $USER_HOME/.embedded-postgres-go/extracted/data |

config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type Config struct {
2727

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

147147
// Predefined supported Postgres versions.
148148
const (
149+
V16 = PostgresVersion("16.2.0")
149150
V15 = PostgresVersion("15.3.0")
150151
V14 = PostgresVersion("14.8.0")
151152
V13 = PostgresVersion("13.11.0")

platform-test/platform_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414

1515
func Test_AllMajorVersions(t *testing.T) {
1616
allVersions := []embeddedpostgres.PostgresVersion{
17+
embeddedpostgres.V16,
1718
embeddedpostgres.V15,
1819
embeddedpostgres.V14,
1920
}

0 commit comments

Comments
 (0)