- Дистрибутив PostgreSQL для Windows
- Лицензия
- Замечания по установке
- Поддерживаемые операционные системы
- Параметры установки
- Учетная запись сервиса в Windows
- Поддержка кириллицы
- Ярлыки программ
- Удаление сервера
- Windows installers
- Interactive installer by EDB
- Platform support
- Downloads
- PostgreSQL Downloads
- Packages and Installers
- Source code
- Beta/RC Releases and development snapshots (unstable)
- 3rd party distributions
- Machine Learning and Data Visualization with PostgreSQL
- Ready to run stacks
- Additional Software
- Software Catalogue
- File Browser
- pgAdmin
- PostgreSQL Tools
- Quick Links
- Latest Videos
- 2021-03-25 — pgAdmin 4 v5.1 Released
- 2021-02-25 — pgAdmin 4 v5.0 Released
- 2019-11-21 — Try pgAdmin online!
- 2018-07-12 — pgAgent v4.0.0 Released
Дистрибутив PostgreSQL для Windows
Компанией Постгрес Профессиональный подготовлены дистрибутивы PostgreSQL для Windows.
Для установки 32 разрядной версии требуется Windows XP SP3 и выше, для установки 64 разрядной — Windows Vista 64bit и выше.
Для установки PosgreSQL на компьютер скачайте и запустите один из следующих файлов (скачивая эти файлы, Вы выражаете согласие с лицензией PostgreSQL):
- PostgreSQL 13.2: 64-разрядная,
- PostgreSQL 12.6: 64-разрядная, 32-разрядная,
- PostgreSQL 11.11: 64-разрядная, 32-разрядная,
- PostgreSQL 10.16: 64-разрядная, 32-разрядная,
- PostgreSQL 9.6.21: 64-разрядная, 32-разрядная.
Некоторые отличия нашей сборки PostgreSQL:
- подбор параметров конфигурации сервера в зависимости от объема установленной памяти
- решены проблемы с кодировкой не латинских сообщений
- дополнительные ярлыки для управления сервером — стоп, старт, рестарт
- фиксы критических багов (включены дополнительные патчи, которые исправляют проблему с правами доступа и критический баг с остановкой Postgres)
Это предварительная версия нашей сборки PosgreSQL. Данное ПО поставляются «как есть», без какой-либо гарантии, явной или подразумеваемой.
Ваши замечания и предложения по нашим сборкам PostgreSQL и по программе установки присылайте по e-mail: info@postgrespro.ru
Лицензия
PostgreSQL распространяется по специальной лицензии PostgreSQL License, свободной open source лицензии, близкой к лицензиям BSD и MIT.
Portions Copyright (c) 1996-2017, The PostgreSQL Global Development Group
Portions Copyright (c) 1994, The Regents of the University of California
Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies.
IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN «AS IS» BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Замечания по установке
Поддерживаемые операционные системы
Данная версия PostgreSQL сервера может быть установлена на компьютеры с ОС Windows XP SP3 и выше. 64-разрядная версия PosgreSQL сервера может быть установлена только на 64 разрядную версию Windows.
Параметры установки
В начале предлагается задать параметры установки сервера. Можно выбрать компоненты, которые будут установлены.
Если обнаружено, что PostgreSQL сервер уже установлен, то предлагается остановить сервер и обновить его. При этом все соединения с сервером будут отключены. Для определения существования сервера используются данные о предыдущих установках из реестра, поэтому, если Вы ранее запускали сервер нестандартно, он может остаться не обнаруженным.
При установке Вы можете задать путь для установки исполняемых файлов севера и путь к каталогу, в котором будут храниться данные. Если по указанному пути уже находятся данные, то будут использоваться они, запрос параметров сервера и инициализации базы данных проводиться не будет.
В процессе установки предлагается ввести параметры сервера — номер порта, имя супер пользователя, пароль и другие. Рекомендуем вводить имя пользователя и пароль только латинскими буквами. Пароль можно оставить и пустым.
Также предлагается провести некоторую оптимизацию параметров сервера исходя из установленной оперативной памяти (если ее больше 1 Gb) . Параметры сохраняются в файл postgresql.conf, который находится в папке с данными. Оптимизируются 2 параметра: shared_buffers и work_mem. Потом Вы можете самостоятельно изменять эти и другие параметры в зависимости от условий эксплуатации сервера.
После установки, сервер запускается и становится готовым к работе. Перезагрузка компьютера не требуется.
Учетная запись сервиса в Windows
Для запуска сервера используется специальная встроенная учетная запись Windows: ‘NT AUTHORITY\NetworkService’. Запуск службы Postgresql-9.4 от другого пользователя можно настроить после установки, например, через программу «Управление компьютером» в Windows .
Поддержка кириллицы
- При запуске psql рекомендуем выполнять команду chcp 1251, которая настраивает правильное отображение русского языка.
- При запуске pgbench рекомендуем выполнять команду chcp 65001, которая настраивает правильное отображение русского языка.
Предупреждение: не следует запускать psql после команды chcp 65001, в противном случае 8-битовые (русские) символы могут отображаться некорректно.
Ярлыки программ
После установки для сервера создаются ярлыки, которыми можно воспользоваться с помощью кнопки Пуск (если она есть в Вашей ОС).
- SQL Shell (psql) — основное, «родное» консольное средство управления сервером и выполнения запросов.
- Reload Configuration — перезагрузить конфигурацию сервера из файлов конфигурации. Следует отметить, что для некоторых параметров требуется перезагрузка сервера.
- Restart Server — остановить и запустить сервер заново. Все активные соединения с сервером будут закрыты.
- Stop Server — остановить сервер. Все активные соединения с сервером будут закрыты.
- Start Server — запустить сервер.
Если Вы установили средство pgAdmin, то для него будут созданы свои ярлыки для запуска.
Удаление сервера
Для удаления сервера выберите ярлык Uninstall или можно использовать панель управления Windows. При удалении сервер останавливается, все активные соединения с сервером будут закрыты. Папка с данными не удаляется. Перезагрузка компьютера не требуется.
Windows installers 
Interactive installer by EDB
Download the installer certified by EDB for all supported PostgreSQL versions.
This installer includes the PostgreSQL server, pgAdmin; a graphical tool for managing and developing your databases, and StackBuilder; a package manager that can be used to download and install additional PostgreSQL tools and drivers. Stackbuilder includes management, integration, migration, replication, geospatial, connectors and other tools.
This installer can run in graphical or silent install modes.
The installer is designed to be a straightforward, fast way to get up and running with PostgreSQL on Windows.
Advanced users can also download a zip archive of the binaries, without the installer. This download is intended for users who wish to include PostgreSQL as part of another application installer.
Platform support
The installers are tested by EDB on the following platforms. They can generally be expected to run on other comparable versions:
PostgreSQL Version | 64 Bit Windows Platforms | 32 Bit Windows Platforms |
---|---|---|
13 | 2019, 2016 | |
12 | 2019, 2016, 2012 R2 | |
11 | 2019, 2016, 2012 R2 | |
10 | 2016, 2012 R2 & R1, 7, 8, 10 | 2008 R1, 7, 8, 10 |
9.6 | 2012 R2 & R1, 2008 R2, 7, 8, 10 | 2008 R1, 7, 8, 10 |
9.5 | 2012 R2 & R1, 2008 R2 | 2008 R1 |
Copyright © 1996-2021 The PostgreSQL Global Development Group
Downloads
PostgreSQL Downloads
PostgreSQL is available for download as ready-to-use packages or installers for various platforms, as well as a source code archive if you want to build it yourself.
Packages and Installers
Select your operating system family:
Select your Linux distribution:
Select your BSD operating system:
Source code
The source code can be found in the main file browser or you can access the source control repository directly at git.postgresql.org. Instructions for building from source can be found in the documentation.
Beta/RC Releases and development snapshots (unstable)
There are source code and binary packages of beta and release candidates, and of the current development code available for testing and evaluation of new features. Note that these builds should be used for testing purposes only, and not for production systems.
3rd party distributions
Machine Learning and Data Visualization with PostgreSQL
Download 2UDA for Windows, macOS, and Linux — certified by 2ndQuadrant for all supported versions of PostgreSQL.
2ndQuadrant Unified Data Analytics (2UDA) is a data analytics application suite that unifies databases, machine learning, data mining, and visualization. The application can be installed using a user-friendly, one-click desktop installer. 2UDA builds on the capabilities of Orange, an open source machine learning and data visualization tool, by integrating it with the PostgreSQL database.
Ready to run stacks
‘LAPP’, ‘MAPP’ and ‘WAPP’ (Linux/Mac/Windows + Apache + PHP + PostgreSQL) stacks are available from BitNami.
Additional Software
Software Catalogue
There is much software available that is not bundled with PostgreSQL. The Software Catalogue offers a listing of many commercial and Open Source applications, interfaces and extensions to PostgreSQL that you may find useful.
If you wish to have your product listed in the catalogue, please fill out this form.
File Browser
You can download most of the software we publish from a mirror site using our File Browser.
Copyright © 1996-2021 The PostgreSQL Global Development Group
pgAdmin
PostgreSQL Tools
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 may be used on Linux, Unix, macOS and Windows to manage PostgreSQL and EDB Advanced Server 9.5 and above.
Quick Links
Latest Videos
2021-03-25 — pgAdmin 4 v5.1 Released
The pgAdmin Development Team are pleased to announce pgAdmin 4 version 5.1. This release of pgAdmin 4 includes 42 bug fixes and new features. For more details please see the release notes.
Notable changes in this release include:
Features:
- Zoom scaling options with keyboard shortcuts in runtime:
This feature includes the zoom scaling (Zoom In, Zoom Out, Actual Size) options along with Enter/Exit Full Screen mode. We have added the options in Menu as well as using keyboard shortcuts users can perform the desired operation.
Bugs/Housekeeping:
- Fixed an issue where hanging symlinks in a directory caused the select file dialog to break.
- Make the ‘Save Data Changes’ icon to be more intuitive.
- Ensure that cell content being auto selected when editing the cell data.
- Ensure that SQL formatter should not add extra tabs and format the SQL correctly.
- Ensure that SQL formatter should not use tab size if ‘Use spaces?’ set to false.
- Fixed encoding issue when database encoding set to SQL_ASCII and name of the column is in ASCII character.
- Ensure that the user should be able to kill the session from Dashboard if the user has a ‘pg_signal_backend’ role.
- Ensure PGADMIN_DEFAULT_EMAIL looks sane when initialising a container deployment.
- Fixed an issue where the user is not able to change the connection in Query Tool when any SQL file is opened.
- Fixed an issue where copy/paste rows in view data paste the wrong value for boolean type.
- Ensure that toggle buttons are accessible by most screen readers.
2021-02-25 — pgAdmin 4 v5.0 Released
The pgAdmin Development Team are pleased to announce pgAdmin 4 version 5.0. This release of pgAdmin 4 includes 31 bug fixes and new features. For more details please see the release notes.
Notable changes in this release include:
Features:
- New Desktop Runtime (Using NWjs):
The Desktop Runtime is now based on NWjs which integrates a browser and the Python server creating a standalone application. By implementing it using NWjs we get rid of the separate server application and the independent browser. We also get rid of QT and C++ runtime logic.
There are two minor known issues with this feature (6255 and 6258), both of which are due to bugs in NWjs itself; Users on macOS should use the application menu to exit pgAdmin, rather than quitting from the Dock icon to avoid the first issue. The second issue may cause Windows users to see a red square instead of the normal application icon in some circumstances.
Logical Replication support:
Logical replication uses a publish and subscribe model with one or more subscribers subscribing to one or more publications on a publisher node. We have added support for logical replication by introducing new treeview nodes and dialogues with which users can easily create/alter/delete publications and subscriptions. Support is also included in the Schema Diff tool.
Quick Search functionality:
Added a quick search option in the Help menu to search menu items and help articles. Type at least three characters to display all the matching possibilities under Menu items and the relevant documents under Help articles.
Bugs/Housekeeping:
- Use cheroot as the default production server for pgAdmin4.
- Updated Javascript dependencies to the latest versions.
- Fixed an issue where the focus is not properly set on the filter text editor after closing the error dialog.
- Fixed an issue where the dependencies tab shows multiple owners for the objects having shared dependencies.
- Fixed an issue where the Zoom to fit button in the ERD Tool only works if the diagram is larger than the canvas.
- Fixed an issue where the user was unable to change the background color for a server.
- Fixed an issue where external utility jobs (backup, maintenance etc.) are failing when the log level is set to DEBUG.
- Ensure DEB/RPM packages depend on the same version of each other.
- Fixed an autocomplete issue where it is not showing any suggestions if the schema name contains escape characters.
2019-11-21 — Try pgAdmin online!
Our friends at EnterpriseDB have kindly made an online demo environment for pgAdmin available to allow new users to try it out in their browser without needing to download or install any software. The environment (based on the Katacoda learning platform) includes pgAdmin and PostgreSQL 12, preloaded with the pagila sample database, and is unique to every user allowing a far better experience than typical shared demo environments.
2018-07-12 — pgAgent v4.0.0 Released
The pgAdmin Development Team are pleased to announce the release of pgAgent v4.0.0.
pgAgent is a job scheduler for PostgreSQL; for more information please see the documentation included as part of the pgAdmin documentation at https://www.pgadmin.org/docs/pgadmin4/3.x/pgagent.html.
We expect DEB and RPM packages to be available from the PostgreSQL APT/YUM repositories in due course, as well as an updated installer from EnterpriseDB available through StackBuilder.
Notable changes in this release include:
- Remove the dependency on wxWidgets. pgAgent now uses Boost for thread management and synchronisation [Neel Patel]
- Refactor connection parsing logic to fix issues with and improve handling of connection strings [Thomas Krennwallner]
- Handle 2 digit server version numbers [Ashesh Vashi]
- Fix handling of the «succeeded» flag on job steps which could prevent failure of steps causing the following steps to fail [Sanket Mehta]