| Port details |
- postgresql19-server PostgreSQL is the most advanced open-source database available anywhere
- 19.b4 databases
=1 19.b4Version of this port present on the latest quarterly branch. - Maintainer: pgsql@FreeBSD.org
 - Port Added: 2026-08-16 17:08:22
- Last Update: 2026-09-24 14:30:53
- Commit Hash: 7c44bd0
- People watching this port, also watch:: grafana, postgresql18-contrib, sylve, blocky, tmux
- License: PostgreSQL
- WWW:
- https://www.postgresql.org/
- Description:
- PostgreSQL is a sophisticated Object-Relational DBMS, supporting
almost all SQL constructs, including subselects, transactions, and
user-defined types and functions. It is the most advanced open-source
database available anywhere. Commercial Support is also available.
The original Postgres code was the effort of many graduate students,
undergraduate students, and staff programmers working under the direction of
Professor Michael Stonebraker at the University of California, Berkeley. In
1995, Andrew Yu and Jolly Chen took on the task of converting the DBMS query
language to SQL and created a new database system which came to known as
Postgres95. Many others contributed to the porting, testing, debugging and
enhancement of the Postgres95 code. As the code improved, and 1995 faded into
memory, PostgreSQL was born.
PostgreSQL development is presently being performed by a team of Internet
developers who are now responsible for all current and future development. The
development team coordinator is Marc G. Fournier (scrappy@PostgreSQL.ORG).
Support is available from the PostgreSQL developer/user community through the
support mailing list (questions@PostgreSQL.ORG).
PostgreSQL is free and the complete source is available.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
-
- Dependency lines:
-
- postgresql19-server>0:databases/postgresql19-server
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/databases/postgresql19-server/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/postgresql19-server
- pkg install postgresql19-server
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: postgresql19-server
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1786458327
SHA256 (postgresql/postgresql-19beta4.tar.bz2) = 83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86
SIZE (postgresql/postgresql-19beta4.tar.bz2) = 23559888
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- databases/postgresql19-client
- databases/postgresql19-contrib
- databases/postgresql19-docs
- databases/postgresql19-plperl
- databases/postgresql19-plpython
- databases/postgresql19-pltcl
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- bison : devel/bison
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- gettext-runtime>=0.26 : devel/gettext-runtime
- gettext-tools>=0.26 : devel/gettext-tools
- perl5>=5.42.r<5.43 : lang/perl5.42
- Library dependencies:
-
- libicudata.so : devel/icu
- liblz4.so : archivers/liblz4
- libxml2.so : textproc/libxml2
- libzstd.so : archivers/zstd
- libpq.so.5 : databases/postgresql19-client
- libLLVM-19.so : devel/llvm19
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Build
-
- databases/postgresql19-plpython
- databases/postgresql19-pltcl
- for Run
-
- databases/postgresql19-plperl
- databases/postgresql19-plpython
- databases/postgresql19-pltcl
Configuration Options:
- ===> The following configuration options are available for postgresql19-server-19.b4:
DEBUG=off: Build with debugging support
DOCS=on: Build and/or install documentation
DTRACE=off: Build with DTrace probes
GSSAPI=off: Build with GSSAPI from base (security/krb5)
LDAP=off: Build with LDAP authentication support
LLVM=on: Build with support for JIT-compiling expressions
LZ4=on: Build with LZ4 compression support
NLS=on: Use internationalized messages
OPTIMIZED_CFLAGS=off: Builds with compiler optimizations (-O3)
PAM=off: Build with PAM Support
SSL=on: Build with OpenSSL support
TZDATA=off: Use internal timezone database
XML=on: Build with XML data type
ZSTD=on: Build with ZSTD compression support
===> Use 'make config' to modify these settings
- Options name:
- databases_postgresql19-server
- USES:
- tar:bzip2 cpe bison perl5 gmake pgsql:19 pkgconfig pkgconfig llvm:lib gettext ssl
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Notes from UPDATING |
- These upgrade notes are taken from /usr/ports/UPDATING
- 2026-03-01
Affects: users of databases/postgresql* and other software using PostgreSQL to run Author: kbowling@FreeBSD.org Reason:
The default version of PostgreSQL has been switched from 17 to 18.
The upgrade procedure can use up twice the space the databases
currently needs. If you have a big amount of stored data take a
closer look at the manpage of pg_upgrade for avoidance and/or
speedup of the upgrade.
The upgrade instructions consider a basic usage and do not match
complex scenarios like replication, sharding, or similar.
Upgrade instructions:
First stop your PostgreSQL, create PostgreSQL-binaries and backup your data.
If you have another Version of PostgreSQL installed, for example 17, your
files are named according to this.
# service postgresql stop
# pkg create postgresql17-server postgresql17-contrib
# mkdir /tmp/pg-upgrade
# tar xf postgresql17-server-17.9.pkg -C /tmp/pg-upgrade
# tar xf postgresql17-contrib-17.9.pkg -C /tmp/pg-upgrade
# pkg delete -f databases/postgresql17-server databases/postgresql17-contrib databases/postgresql17-client
Now update PostgreSQL:
pkg user:
# pkg install databases/postgresql18-server databases/postgresql18-contrib
# pkg upgrade
Portmaster users:
# portmaster databases/postgresql18-server databases/postgresql18-contrib
# portmaster -a
Portupgrade users:
# portinstall databases/postgresql18-server databases/postgresql18-contrib
# portupgrade -a
After installing the new PostgreSQL version you need to convert
all your databases to new version:
# su -l postgres -c "/usr/local/bin/initdb --encoding=utf-8 --lc-collate=C --no-data-checksums -D /var/db/postgres/data18 -U postgres"
# su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data17/ -B /usr/local/bin/ -D /var/db/postgres/data18/ -U postgres "
Now the migration is finished. You can start PostgreSQL again with:
# service postgresql start
ATTENTION:
1) If you use non-default initdb options, you have to adjust the initdb-command accordingly
2) The initdb in the upgrade procedure uses '--no-data-checksums' to enable
pg_upgrade from before this change. You should review the documentation and
decide whether you want to then enable checksums with pg_checksums. Future
upgrade instructions for PostgreSQL 19 and later will assume a default
initdb, and therefore that checksums are enabled.
|
Number of commits found: 2
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
19.b4 24 Sep 2026 14:30:53
    |
Palle Girgensohn (girgen)  |
databases/postgresql19-*: Update to 19.0-beta4
This release contains PostgreSQL 19 feature previews ahead of general
availability, though some details of the release can change during the
beta period.
The next planned release of PostgreSQL 19 is the release candidate,
which should occur in early October. Based on testing and evaluation,
this means that the PostgreSQL 19 GA may also occur in October. More
details will be provided as we move closer to these releases.
This beta release reverted several features that were originally planned
for PostgreSQL 19. The PostgreSQL community strongly believes that,
first and foremost, PostgreSQL must be reliable. Additionally, the
community strives for a predictable release schedule. Because of this,
the community chose to remove some features from the PostgreSQL 19
release so they can be potentially be included in a later major release
after more time working through the community development and review
process.
Release
notes: https://www.postgresql.org/about/news/postgresql-19-beta-4-released-3386/ |
19.b3 16 Aug 2026 17:03:01
    |
Palle Girgensohn (girgen)  |
databases/postgresql??-*: Update to latest versions
Update to 18.6, 17.11, 16.15, 15.19 and 14.24.
This release fixes 28 security vulnerabilities and over 110 bugs
reported over the last several months.
Welcome postgresql19 to the ports tree with 19-beta3.
Note: PostgreSQL 18.5 was skipped due to a regression; the fix
version is 18.6.
PostgreSQL 14 will stop receiving fixes on 2026-11-12.
Changes: https://www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/
Security: 05d311bc-9991-11f1-bc50-6cc21735f730 |
Number of commits found: 2
|