Skip to content

Commit

Permalink
AU: 1 updated - postgresql15
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Feb 12, 2023
1 parent 9fdc88e commit 0f21670
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
16 changes: 14 additions & 2 deletions postgresql/postgresql.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"9.6": "9.6.24.1",
"10.10": "10.10",
"11.5": "11.5",
"postgresql": "15.1.1",
"postgresql": "15.2",
"postgresql-9.4": "9.4.26",
"postgresql-10.10": "10.10",
"postgresql-9.5": "9.5.25.1",
Expand Down Expand Up @@ -126,5 +126,17 @@
"postgresql-14.6": "14.6.2",
"14.6": "14.6.2",
"postgresql-15.1": "15.1.1",
"15.1": "15.1.1"
"15.1": "15.1.1",
"postgresql-9.3": "9.3.25",
"9.3": "9.3.25",
"postgresql-11.19": "11.19",
"11.19": "11.19",
"postgresql-12.14": "12.14",
"12.14": "12.14",
"postgresql-13.10": "13.10",
"13.10": "13.10",
"postgresql-14.7": "14.7",
"14.7": "14.7",
"postgresql-15.2": "15.2",
"15.2": "15.2"
}
6 changes: 3 additions & 3 deletions postgresql/postgresql.nuspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>postgresql14</id>
<version>14.6.2</version>
<id>postgresql15</id>
<version>15.2</version>
<title>PostgreSQL</title>
<authors>PostgreSQL Global Development Group</authors>
<owners>majkinetor, cole.mike</owners>
Expand Down Expand Up @@ -88,7 +88,7 @@ cinst postgresql12 --force
```
]]></description>
<summary>PostgreSQL is an object-relational database management system</summary>
<releaseNotes>https://www.postgresql.org/docs/14/static/release.html</releaseNotes>
<releaseNotes>https://www.postgresql.org/docs/15/static/release.html</releaseNotes>
<copyright>Copyright © 1996-2019 The PostgreSQL Global Development Group</copyright>
<tags>foss cross-platform postgres postgresql sql relational database admin</tags>
<projectSourceUrl>https://github.com/postgres/postgres</projectSourceUrl>
Expand Down
6 changes: 3 additions & 3 deletions postgresql/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ if ($pp.Port) { Write-Host "Using port: $($pp.Port)"; $silentArgs.ServerPort = $
$packageArgs = @{
packageName = $Env:ChocolateyPackageName
fileType = 'exe'
url64 = 'https://get.enterprisedb.com/postgresql/postgresql-14.6-2-windows-x64.exe'
checksum64 = '566D841ADBBED5DBE899396359D29E0890EC8E240E164BD3AA2BBF5D1DB06052'
url64 = 'https://get.enterprisedb.com/postgresql/postgresql-15.2-1-windows-x64.exe'
checksum64 = 'BE866F4B4FE2C6E6F66814CE487474AF64597ADABB981A9F97499EB968CEE054'
checksumType64 = 'sha256'
url = ''
checksum = ''
checksumType32 = 'sha256'
silentArgs = ($silentArgs.Keys | % { "--{0} {1}" -f $_.Tolower(), $silentArgs.$_}) -join ' '
validExitCodes = @(0)
softwareName = 'PostgreSQL 14*'
softwareName = 'PostgreSQL 15*'
}
Install-ChocolateyPackage @packageArgs
Write-Host "Installation log: $Env:TEMP\install-postgresql.log"
Expand Down
2 changes: 1 addition & 1 deletion postgresql/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ErrorActionPreference = 'Stop'

$packageName = $Env:ChocolateyPackageName
$softwareNamePattern = 'PostgreSQL 14*'
$softwareNamePattern = 'PostgreSQL 15*'

[array] $key = Get-UninstallRegistryKey $softwareNamePattern
if ($key.Count -eq 1) {
Expand Down

0 comments on commit 0f21670

Please sign in to comment.