Skip to content

Commit 40d7b19

Browse files
committed
Add V16 constant
1 parent cc72095 commit 40d7b19

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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)