github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/pkg/nodeps/postgres_values.go (about)

     1  package nodeps
     2  
     3  // PostgresDefaultVersion is the default PostgreSQL version
     4  const PostgresDefaultVersion = Postgres14
     5  
     6  // ValidPostgresVersions is the versions of PostgreSQL that are valid
     7  var ValidPostgresVersions = map[string]bool{
     8  	Postgres16: true,
     9  	Postgres15: true,
    10  	Postgres14: true,
    11  	Postgres13: true,
    12  	Postgres12: true,
    13  	Postgres11: true,
    14  	Postgres10: true,
    15  	Postgres9:  true,
    16  }
    17  
    18  // PostgreSQL Versions
    19  const (
    20  	Postgres16 = "16"
    21  	Postgres15 = "15"
    22  	Postgres14 = "14"
    23  	Postgres13 = "13"
    24  	Postgres12 = "12"
    25  	Postgres11 = "11"
    26  	Postgres10 = "10"
    27  	Postgres9  = "9"
    28  )
    29  
    30  // PostgresConfigDir is in-container location of PostgreSQL config
    31  const PostgresConfigDir = "/etc/postgresql"