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