macOS
brew install postgresql@18local Homebrew formula metadata
sudo port install postgresql18MacPorts ports tree · databases/postgresql18/Portfile · 来源: api.github.com
安装
brew install postgresql@18local Homebrew formula metadata
sudo port install postgresql18MacPorts ports tree · databases/postgresql18/Portfile · 来源: api.github.com
sudo apk add postgresql18Alpine Linux edge package indexes · postgresql18 · 来源: dl-cdn.alpinelinux.org
sudo zypper install postgresql18openSUSE Tumbleweed package metadata · postgresql18 · 来源: download.opensuse.org
sudo dnf install postgresqlFedora Rawhide package metadata · postgresql · 来源: dl.fedoraproject.org
sudo apt install postgresqlDebian stable package indexes · postgresql · 来源: deb.debian.org
nix profile install nixpkgs#postgresqlnixpkgs package indexes · postgresql · 来源: raw.githubusercontent.com
sudo pacman -S postgresqlArch Linux sync databases · postgresql · 来源: geo.mirror.pkgbuild.com
winget install --id PostgreSQL.PostgreSQL.18 -eWindows Package Manager source index · PostgreSQL.PostgreSQL.18 · 来源: cdn.winget.microsoft.com
choco install postgresql18Chocolatey community package catalog · postgresql18 · 来源: community.chocolatey.org
scoop install main/postgresqlScoop official bucket manifest trees · bucket/postgresql.json · 来源: api.github.com
概览
Object-relational database system
历史
PostgreSQL is an open-source object-relational database system. This package tracks the PostgreSQL 18 major release and includes the server, interactive client, and extensive administration toolset.
PostgreSQL descends from the POSTGRES research project led by Michael Stonebraker at the University of California, Berkeley. Implementation began in 1986, and the research system progressed through several releases and production uses.
Andrew Yu and Jolly Chen added an SQL interpreter in 1994 and released the result as Postgres95. The community adopted the PostgreSQL name in 1996 to preserve the POSTGRES lineage while recognizing its SQL support.
PostgreSQL moved from a Berkeley research system to a community-developed open-source database. The project reports use across major operating systems and a reputation for reliability, extensibility, data integrity, and standards-oriented relational workloads.
Version 18 continues the project's annual major-release cadence and adds performance, upgrade, UUIDv7, and OAuth-related improvements.
Administrators initialize and operate database clusters with tools such as `initdb`, `postgres`, and `pg_ctl`; users connect interactively with `psql`; backup and migration workflows use `pg_dump`, `pg_restore`, `pg_basebackup`, and `pg_upgrade`.
The principal server configuration files conventionally live in `PGDATA`, although PostgreSQL permits relocating them. libpq clients can read passwords from `.pgpass` or the Windows `pgpass.conf` location.
PostgreSQL is a cornerstone package in Unix-like repositories: one formula supplies the server, the `psql` client, cluster-management programs, backup and restore utilities, benchmarking tools, and development interfaces.
Its major versions are commonly packaged in parallel because database clusters require deliberate upgrade and compatibility planning. The `postgresql@18` formula identifies that versioned packaging model rather than an unrelated fork.
安全态势
没有找到 postgresql@18 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$PGDATA/postgresql.conf$PGDATA/pg_hba.conf$PGDATA/pg_ident.confCredential-bearing paths to review before unattended agent runs.
~/.pgpass%APPDATA%\postgresql\pgpass.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
| 没有可执行文件数据。 | |||
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:postgresql@18 |
|---|---|
| 版本 | 18.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/postgresql@18 |
| 主页 | https://www.postgresql.org/ |
| 上游文档 | https://www.postgresql.org/ |
| 许可证 | PostgreSQL |
| 源码归档 | https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2 |
| 最后更新 | 2026-10-25T01:59:05Z |
| Pulse | updated |
| 依赖 | gettext, icu4c@79, krb5, lz4, openssl@4, readline, zstd |
| 构建依赖 | docbook, docbook-xsl, gettext, pkgconf |
| macOS 提供的库 | curl, libxml2, libxslt, openldap, perl |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | This formula has created a default database cluster with: initdb --locale=en_US.UTF-8 -E UTF-8 $HOMEBREW_PREFIX/var/postgresql@18 When uninstalling, some dead symlinks are left behind so you may want to run: brew cleanup --prune-prefix If the service fails to start with a "postmaster.pid" lock file error after an unclean shutdown, and no postgres is running, remove the stale file: rm $HOMEBREW_PREFIX/var/postgresql@18/postmaster.pid |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | postgresql@18 |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
PostgreSQL.PostgreSQL.18
winget install --id PostgreSQL.PostgreSQL.18 -epostgresql18
sudo port install postgresql18libecpg 18.6-r0
ECPG - Embedded SQL in C
sudo apk add libecpglibecpg-dev 18.6-r0
ECPG - Embedded SQL in C (development files)
sudo apk add libecpg-devlibpq 18.6-r0
PostgreSQL client library
sudo apk add libpqlibpq-dev 18.6-r0
PostgreSQL client library (development files)
sudo apk add libpq-devpostgresql18 18.6-r0
A sophisticated object-relational DBMS, version 18
sudo apk add postgresql18postgresql18-client 18.6-r0
PostgreSQL client
sudo apk add postgresql18-clientpostgresql18-contrib 18.6-r0
Extension modules distributed with PostgreSQL
sudo apk add postgresql18-contribpostgresql18-contrib-jit 18.6-r0
Extension modules distributed with PostgreSQL (JIT support)
sudo apk add postgresql18-contrib-jitpostgresql18-dev 18.6-r0
A sophisticated object-relational DBMS, version 18 (development files)
sudo apk add postgresql18-devpostgresql18-doc 18.6-r0
A sophisticated object-relational DBMS, version 18 (documentation)
sudo apk add postgresql18-docpostgresql18-jit 18.6-r0
Just-in-time compilation support for PostgreSQL
sudo apk add postgresql18-jitpostgresql18-openrc 18.6-r0
A sophisticated object-relational DBMS, version 18 (OpenRC init scripts)
sudo apk add postgresql18-openrcpostgresql18-plperl 18.6-r0
PL/Perl procedural language for PostgreSQL
sudo apk add postgresql18-plperlpostgresql18-plperl-contrib 18.6-r0
PL/Perl extension modules distributed with PostgreSQL
sudo apk add postgresql18-plperl-contrib来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.