mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"homepage": "https://www.postgresql.org/",
|
|
"version": "10.4",
|
|
"license": "PostgreSQL",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://get.enterprisedb.com/postgresql/postgresql-10.4-1-windows-x64-binaries.zip",
|
|
"hash": "00c114d578fc64a6b135937620e51041763bd7732445e1b1af44371653fd129a"
|
|
},
|
|
"32bit": {
|
|
"url": "https://get.enterprisedb.com/postgresql/postgresql-10.4-1-windows-binaries.zip",
|
|
"hash": "09e1102ca19dc2fb387b128750b8de777190eb568c69236a3222407013155bfe"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"32bit": {
|
|
"url": "https://get.enterprisedb.com/postgresql/postgresql-$version-1-windows-binaries.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|