Skip to content

Commit

Permalink
Postgres 15
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpt0 committed Nov 6, 2023
1 parent 4c8ac32 commit 822bb45
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions bucket/postgresql15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"version": "15.4",
"description": "Object-relational database management system based on POSTGRES. (version 14)",
"homepage": "https://www.postgresql.org",
"license": "PostgreSQL",
"notes": [
"Run run 'pg_ctl start' or 'pg_ctl stop' to start and stop the database or",
"register it as a service by running 'pg_ctl register -N PostgreSQL' from an elevated shell.",
"Default superuser login: postgres, password: <blank>"
],
"architecture": {
"64bit": {
"url": "https://get.enterprisedb.com/postgresql/postgresql-15.4-1-windows-x64-binaries.zip",
"hash": "1924951BFCFEC130028A1507CE7266BE68A0481A43BADB87C5B6ACAF0DA58222"
}
},
"extract_dir": "pgsql",
"post_install": [
"if (!(Test-Path \"$dir\\data\\pg_hba.conf\")) {",
" Invoke-ExternalCommand -FilePath \"$dir\\bin\\initdb.exe\" -ArgumentList @('--username=postgres', '--encoding=UTF8', '--locale=en', '--lc-collate=C') | Out-Null",
"}"
],
"shortcuts": [
[
"pgAdmin 4\\runtime\\pgAdmin4.exe",
"pgAdmin 4"
]
],
"env_add_path": "bin",
"env_set": {
"PGDATA": "$dir\\data"
},
"persist": "data",
"checkver": {
"url": "https://www.postgresql.org/ftp/source/",
"regex": "v(14\\.[\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://get.enterprisedb.com/postgresql/postgresql-$version-1-windows-x64-binaries.zip"
}
}
}
}

0 comments on commit 822bb45

Please sign in to comment.