ScoopInstaller_Main/bucket/postgresql.json
2019-10-03 16:00:26 +00:00

38 lines
1.2 KiB
JSON

{
"homepage": "https://www.postgresql.org/",
"description": "Object-relational database management system based on POSTGRES.",
"version": "12.0",
"license": "PostgreSQL",
"architecture": {
"64bit": {
"url": "https://get.enterprisedb.com/postgresql/postgresql-12.0-1-windows-x64-binaries.zip",
"hash": "32bc54654e24df13175ffc56cb72b347cd41e654cdf4ae6c244ac25572292ee6"
}
},
"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"
}
}
}
}