ScoopInstaller_Main/bucket/postgresql.json
2019-06-20 12:00:30 +00:00

37 lines
1.2 KiB
JSON

{
"homepage": "https://www.postgresql.org/",
"version": "11.4",
"license": "PostgreSQL",
"architecture": {
"64bit": {
"url": "https://get.enterprisedb.com/postgresql/postgresql-11.4-1-windows-x64-binaries.zip",
"hash": "795102077fc1496754722667826b734aadc14c546f1005aa5e481f357e4f074d"
}
},
"extract_dir": "pgsql",
"env_add_path": "bin",
"shortcuts": [
[
"pgAdmin 4\\bin\\pgAdmin4.exe",
"pgAdmin 4"
]
],
"persist": "data",
"env_set": {
"PGDATA": "$dir\\data"
},
"post_install": "if (!(Test-Path \"$dir\\data\\pg_hba.conf\")) { iex \"initdb --username=postgres --encoding=UTF8 --locale=en --lc-collate=C\" }",
"notes": "To start/stop service, run `pg_ctl start`, `pg_ctl stop`.",
"checkver": {
"url": "https://www.enterprisedb.com/products-services-training/pgbindownload",
"re": "<b>Version ([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://get.enterprisedb.com/postgresql/postgresql-$version-1-windows-x64-binaries.zip"
}
}
}
}