Downloads:

53,987

Downloads of v 4.14:

1,729

Last Update:

10/27/2019

Package Maintainer(s):

Software Author(s):

  • The PostgreSQL Global Development Group
  • Current Maintainer: Dave Page

Tags:

pgadmin4 pgadmin postgres postgresql admin

pgAdmin 4

4.14 | Updated: 10/27/2019

Downloads:

53,987

Downloads of v 4.14:

1,729

Maintainer(s):

Software Author(s):

  • The PostgreSQL Global Development Group
  • Current Maintainer: Dave Page

pgAdmin 4 4.14

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install pgAdmin 4, run the following command from the command line or from PowerShell:

>

To upgrade pgAdmin 4, run the following command from the command line or from PowerShell:

>

To uninstall pgAdmin 4, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade pgadmin4 -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade pgadmin4 -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure pgadmin4 installed
  win_chocolatey:
    name: pgadmin4
    state: present
    version: 4.14
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'pgadmin4' do
  action    :install
  version  '4.14'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: pgadmin4,
    Version: 4.14,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller pgadmin4
{
   Name     = 'pgadmin4'
   Ensure   = 'Present'
   Version  = '4.14'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'pgadmin4':
  provider => 'chocolatey',
  ensure   => '4.14',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install pgadmin4 version="4.14" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 10/27/2019.

Description

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.

pgAdmin is designed to answer the needs of all users, from writing simple SQL queries to developing complex databases. The graphical interface supports all PostgreSQL features and makes administration easy. The application also includes a syntax highlighting SQL editor, a server-side code editor, an SQL/batch/shell job scheduling agent, support for the Slony-I replication engine and much more. Server connection may be made using TCP/IP or Unix Domain Sockets (on *nix platforms), and may be SSL encrypted for security. No additional drivers are required to communicate with the database server.


README.md
# pgAdmin 4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.

pgAdmin is designed to answer the needs of all users, from writing simple SQL queries to developing complex databases. The graphical interface supports all PostgreSQL features and makes administration easy. The application also includes a syntax highlighting SQL editor, a server-side code editor, an SQL/batch/shell job scheduling agent, support for the Slony-I replication engine and much more. Server connection may be made using TCP/IP or Unix Domain Sockets (on *nix platforms), and may be SSL encrypted for security. No additional drivers are required to communicate with the database server.
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'; # stop on all errors

$packageName = 'pgadmin4'
$toolsDir    = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url         = 'https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v4.14/windows/pgadmin4-4.14-x86.exe' # download url
$checksum    = 'f5f2838fa5556e2f2039daab4538accd8c3b19c2fc0d5d0db05091fb386655be'
$checksumType= 'sha256'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'
  url           = $url

  silentArgs   = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' # Inno Setup
  validExitCodes= @(0)

  softwareName  = 'pgAdmin 4'
  checksum      = $checksum
  checksumType  = $checksumType
}

Install-ChocolateyPackage @packageArgs
update.ps1
Import-Module au
. $PSScriptRoot\..\_scripts\all.ps1

$releases = 'https://www.pgadmin.org/download/pgadmin-4-windows/'

function global:au_SearchReplace {
  @{
    ".\tools\chocolateyinstall.ps1" = @{
      "(?i)(^\s*[$]packageName\s*=\s*)('.*')" = "`$1'$($Latest.PackageName)'"
      "(?i)(^\s*[$]url\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
      "(?i)(^\s*[$]checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
      "(?i)(^\s*[$]checksumType\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'"
    }
  }
}

function global:au_GetLatest {
  $download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing
  $regex   = '(?:/pgadmin/pgadmin4/v)(\d+(\.\d+)+)(?:/windows)'
  $url     = $download_page.links | Where-Object href -Match $regex | Select-Object -First 1 -Expand href
  $version = $url -replace ".*v(\d+(\.\d+)*).*",'$1'

  Write-Host $url $version

  $url32 = "https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v${version}/windows/pgadmin4-${version}-x86.exe"

  return @{
    Version = $version

    URL32 = $url32
  }
}

Update-Package

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.

Version Downloads Last Updated Status
pgAdmin 4 4.13 2992 Thursday, September 26, 2019 Approved
pgAdmin 4 4.12 1537 Thursday, September 12, 2019 Approved
pgAdmin 4 4.11 2573 Thursday, August 8, 2019 Approved
pgAdmin 4 4.10 2013 Sunday, July 7, 2019 Approved
pgAdmin 4 4.9 530 Wednesday, July 3, 2019 Approved
pgAdmin 4 4.8 1135 Wednesday, June 19, 2019 Approved
pgAdmin 4 4.7 1207 Sunday, June 2, 2019 Approved
pgAdmin 4 4.6 1586 Monday, May 6, 2019 Approved
pgAdmin 4 4.5 1334 Friday, April 12, 2019 Approved

This package has no dependencies.

Discussion for the pgAdmin 4 Package

Ground Rules:

  • This discussion is only about pgAdmin 4 and the pgAdmin 4 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 pgAdmin 4, 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