mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "homepage": "https://www.postgresql.org/",
 | 
						|
    "description": "Object-relational database management system based on POSTGRES.",
 | 
						|
    "version": "12.1",
 | 
						|
    "license": "PostgreSQL",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://get.enterprisedb.com/postgresql/postgresql-12.1-1-windows-x64-binaries.zip",
 | 
						|
            "hash": "a074cf355c4d42c622ba3ff5fad8bd40cf42e0e1b6d9d3cb6b6991220514212d"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "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"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |