-
-
Notifications
You must be signed in to change notification settings - Fork 252
Expand file tree
/
Copy pathpostgresql12.json
More file actions
45 lines (45 loc) · 1.54 KB
/
postgresql12.json
File metadata and controls
45 lines (45 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"version": "12.22",
"description": "Object-relational database management system based on POSTGRES. (version 12)",
"homepage": "https://www.postgresql.org",
"license": "PostgreSQL",
"notes": [
"Run run 'pg_ctl start' or 'pg_ctl stop' to start and stop the database or",
"register it as a service by running 'pg_ctl register -N PostgreSQL' from an elevated shell.",
"Default superuser login: postgres, password: <blank>"
],
"architecture": {
"64bit": {
"url": "https://get.enterprisedb.com/postgresql/postgresql-12.22-1-windows-x64-binaries.zip",
"hash": "591baffd8b93e0b1db34bf5a037fab2056d7dd497653b35f24a78f5bc435a5c7"
}
},
"extract_dir": "pgsql",
"post_install": [
"if (!(Test-Path \"$dir\\data\\pg_hba.conf\")) {",
" Invoke-ExternalCommand -FilePath \"$dir\\bin\\initdb.exe\" -ArgumentList @('--username=postgres', '--encoding=UTF8', '--locale=en', '--lc-collate=C') | Out-Null",
"}"
],
"shortcuts": [
[
"pgAdmin 4\\runtime\\pgAdmin4.exe",
"pgAdmin 4"
]
],
"env_add_path": "bin",
"env_set": {
"PGDATA": "$dir\\data"
},
"persist": "data",
"checkver": {
"url": "https://www.postgresql.org/ftp/source/",
"regex": "v(12\\.[\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://get.enterprisedb.com/postgresql/postgresql-$version-1-windows-x64-binaries.zip"
}
}
}
}