Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

25,258

Downloads of v 11.1.0.0:

61

Last Update:

14 Jan 2019

Package Maintainer(s):

Software Author(s):

  • PostgreSQL Global Development Group

Tags:

postgres postgresql relational database admin

PostgreSQL

Downloads:

25,258

Downloads of v 11.1.0.0:

61

Maintainer(s):

Software Author(s):

  • PostgreSQL Global Development Group

PostgreSQL

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Depends on vcredist140 which requires reboot

Details

Scan Testing Successful:

No detections found in any package files

Details
WARNING

This package was rejected on 19 Feb 2019. The reviewer chocolatey-ops has listed the following reason(s):

cole.mike (maintainer) on 14 Jan 2019 22:07:22 +00:00:

User 'cole.mike' (maintainer) submitted package.

cole.mike (maintainer) on 14 Jan 2019 22:13:41 +00:00:

User 'cole.mike' (maintainer) submitted package.

chocolatey-ops (reviewer) on 14 Jan 2019 22:49:16 +00:00:

postgresql11 has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • This packages has used a function that doesn't have an automatic undo on uninstall, so it will also need an uninstall script. Please correcting that by adding a chocolateyUninstall.ps1 to the package to undo the action. More...
Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

  • The package takes a dependency on Chocolatey. The reviewer will ensure the package uses a specific Chocolatey feature that requires a minimum version. More...

chocolatey-ops (reviewer) on 15 Jan 2019 05:26:23 +00:00:

postgresql11 has failed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/c5bf4d22cadceb409fc1d1f62355e7a4 for details.
The package status will be changed and will be waiting on your next actions.

  • NEW! We have a test environment for you to replicate the testing we do. This can be used at any time to test packages! See https://github.com/chocolatey/chocolatey-test-environment
  • Please log in and leave a review comment if you have questions and/or comments.
  • If you see the verifier needs to rerun testing against the package without resubmitting (a issue in the test results), you can do that on the package page in the review section.
  • If the verifier is incompatible with the package, please log in and leave a review comment if the package needs to bypass testing (e.g. package installs specific drivers).
  • Automated testing can also fail when a package is not completely silent or has pop ups (AutoHotKey can assist - a great example is the VeraCrypt package).
  • A package that cannot be made completely unattended should have the notSilent tag. Note that this must be approved by moderators.

chocolatey-ops (reviewer) on 04 Feb 2019 05:28:17 +00:00:

We've found postgresql11 v11.1.0.0 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

  • Log in to the site and respond to the review comments.
  • Resubmit fixes for this version.
  • If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

chocolatey-ops (reviewer) on 19 Feb 2019 05:28:40 +00:00:

Unfortunately there has not been progress to move postgresql11 v11.1.0.0 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.

Status Change - Changed status of package from 'submitted' to 'rejected'.

Description

Installation directory

This package will install PostgreSQL to %SystemDrive%\Program Files\PostgreSQL\11.1`

Package parameters

  • /Password - (required) Password to be assigned to the postgres user

Example: choco install postgresql --params '/Password:hunter2'

What is PostgreSQL?

PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. POSTGRES pioneered many concepts that only became available in some commercial database systems much later.

PostgreSQL is an open-source descendant of this original Berkeley code. It supports a large part of the SQL standard and offers many modern features:

  • complex queries
  • foreign keys
  • triggers
  • updatable views
  • transactional integrity
  • multiversion concurrency control

Also, PostgreSQL can be extended by the user in many ways, for example by adding new

  • data types
  • functions
  • operators
  • aggregate functions
  • index methods
  • procedural languages

And because of the liberal license, PostgreSQL can be used, modified, and distributed by anyone free of charge for any purpose, be it private, commercial, or academic.


tools\chocolateyInstall.ps1
$ErrorActionPreference = "Stop"

$packageName = "postgresql11"
$pp = Get-PackageParameters
$password = $pp["Password"]

if(!$password)
{
    $password = Read-Host "Specify a password to be assigned to the postgres user:" -AsSecureString
    $password = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($password))
}

if(!$password)
{
    # We need to do this to pass package verification.
    $password = [guid]::NewGuid().ToString("N")
    Write-Output "You did not specify a password for the postgres user so an insecure one has been generated for you. Please change it immediately. The password is $($password)"
}

$silentArgs = @(
    "--mode unattended",
    "--unattendedmodeui none",
    "--serverport 5432",
    "--superpassword $($password)",
    "--enable_acledit 1",
    "--install_runtimes 0"
) -join " "

$packageArgs = @{
    packageName = $packageName
    fileType = "exe"
    softwareName = "PostgreSQL"
    url64bit = "https://get.enterprisedb.com/postgresql/postgresql-11.1-1-windows-x64.exe"
    checksum64 = "3240FF944DB754291BE54D2C33463AFA61E97B2B36BE20846BF452FA46A84B77"
    checksumType64 = "sha256"
    silentArgs = $silentArgs
    validExitCodes = @(0)
}

Install-ChocolateyPackage @packageArgs

Install-ChocolateyPath "$($env:SystemDrive)\Program Files\postgresql\11\bin" -PathType 'Machine'

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
PostgreSQL 11.21 1500 Friday, August 11, 2023 Approved
PostgreSQL 11.20 1307 Tuesday, May 16, 2023 Approved
PostgreSQL 11.19 1287 Sunday, February 12, 2023 Approved
PostgreSQL 11.18.1 940 Friday, November 11, 2022 Approved
PostgreSQL 11.17.1 801 Friday, August 12, 2022 Approved
PostgreSQL 11.16.1 1086 Friday, May 13, 2022 Approved
PostgreSQL 11.15.2 463 Tuesday, April 19, 2022 Approved
PostgreSQL 11.15.1 847 Thursday, February 10, 2022 Approved
PostgreSQL 11.14.1 984 Sunday, November 14, 2021 Approved
PostgreSQL 11.13.2 643 Tuesday, September 28, 2021 Exempted
PostgreSQL 11.13.1 755 Saturday, August 14, 2021 Approved
PostgreSQL 11.12.2 836 Thursday, May 20, 2021 Exempted
PostgreSQL 11.12.1 286 Friday, May 14, 2021 Exempted
PostgreSQL 11.11.3 384 Thursday, April 29, 2021 Exempted
PostgreSQL 11.11.2 309 Friday, April 9, 2021 Approved
PostgreSQL 11.11.1 1520 Friday, February 12, 2021 Approved
PostgreSQL 11.10.2 871 Saturday, January 9, 2021 Approved
PostgreSQL 11.10.1 1062 Saturday, November 14, 2020 Approved
PostgreSQL 11.9.1 3095 Friday, August 14, 2020 Approved
PostgreSQL 11.8.2 172 Thursday, August 13, 2020 Approved
PostgreSQL 11.8 1947 Tuesday, May 19, 2020 Approved
PostgreSQL 11.7 1299 Friday, February 14, 2020 Approved
PostgreSQL 11.6 1188 Friday, November 15, 2019 Approved
PostgreSQL 11.5 835 Friday, October 4, 2019 Approved

Discussion for the PostgreSQL Package

Ground Rules:

  • This discussion is only about PostgreSQL and the PostgreSQL package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or PostgreSQL, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus