diff --git a/input/postgres/statements.go b/input/postgres/statements.go index cc5c5bbfb..558a0ab15 100644 --- a/input/postgres/statements.go +++ b/input/postgres/statements.go @@ -99,7 +99,9 @@ func GetStatements(ctx context.Context, server *state.Server, logger *util.Logge var extMinorVersion int16 var foundExtMinorVersion int16 - if postgresVersion.Numeric >= state.PostgresVersion13 { + if postgresVersion.Numeric >= state.PostgresVersion14 { + extMinorVersion = 9 + } else if postgresVersion.Numeric >= state.PostgresVersion13 { extMinorVersion = 8 } else { extMinorVersion = 3