ScoopInstaller_Main/bucket/postgresql.json
h404bi ccc24e57b6 Init scoop-main bucket
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com>
Co-authored-by: Richard Kuhnt <r15ch13+git@gmail.com>
2019-04-22 20:56:04 +08:00

37 lines
1.2 KiB
JSON

{
"homepage": "https://www.postgresql.org/",
"version": "11.2",
"license": "PostgreSQL",
"architecture": {
"64bit": {
"url": "https://get.enterprisedb.com/postgresql/postgresql-11.2-1-windows-x64-binaries.zip",
"hash": "12c361d7a43542e1556f593fe9971463199b73286f5dac6c6bdc83ded45a1ed8"
}
},
"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"
}
}
}
}