| Port details |
- postgresql15-client PostgreSQL database (client)
- 15.17 databases
=2 15.17Version of this port present on the latest quarterly branch. - Maintainer: pgsql@FreeBSD.org
 - Port Added: 2022-05-19 13:39:06
- Last Update: 2026-02-26 14:28:49
- Commit Hash: a6361f4
- People watching this port, also watch:: tmux, font-misc-meltho, py311-pycparser, p5-Net-HTTP, screen
- 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:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- postgresql15-client>0:databases/postgresql15-client
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/databases/postgresql15-client/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/postgresql15-client
- pkg install postgresql15-client
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: postgresql15-client
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1771928564
SHA256 (postgresql/postgresql-15.17.tar.bz2) = ae14f24c14727e0b2ded1c5553031666099bd1054db3ef44bfa6e2bd6d554a56
SIZE (postgresql/postgresql-15.17.tar.bz2) = 23357238
Packages (timestamps in pop-ups are UTC):
- Master port: databases/postgresql15-server
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- pkgconf>=1.3.0_1 : devel/pkgconf
- gmake>=4.4.1 : devel/gmake
- gettext-runtime>=0.26 : devel/gettext-runtime
- gettext-tools>=0.26 : devel/gettext-tools
- Library dependencies:
-
- libzstd.so : archivers/zstd
- libreadline.so.8 : devel/readline
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Build
-
- net/prosearch
- for Libraries
-
- biology/emboss
- databases/hashtypes
- databases/ip4r
- databases/libdbi-drivers
- databases/p5-DBD-Pg
- databases/pgaccess
- databases/pgtcl
-
Deleted ports which required this port:
- for Run
-
- net/prosearch
Configuration Options:
- ===> The following configuration options are available for postgresql15-client-15.17:
DEBUG=off: Build with debugging support
DOCS=on: Build and/or install documentation
GSSAPI=off: Build with GSSAPI from base (security/krb5)
LIBEDIT=off: Use non-GPL libedit instead of readline
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
ZSTD=on: Build with ZSTD compression support
===> Use 'make config' to modify these settings
- Options name:
- databases_postgresql15-client
- USES:
- pkgconfig tar:bzip2 cpe gmake pkgconfig readline 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: 10
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| This is a slave port. You may also want to view the commits to the master port: databases/postgresql15-server | | Commit | Credits | Log message |
15.17 26 Feb 2026 14:28:49
    |
Palle Girgensohn (girgen)  |
databases/postgresql??-*: Update to latest version
The PostgreSQL Global Development Group has released an update to all
supported versions of PostgreSQL, including 18.3, 17.9, 16.13, 15.17,
and 14.22. This is an out-of-cycle release that fixes several
regressions reported after the last update release.
Release
notes: https://www.postgresql.org/about/news/postgresql-183-179-1613-1517-and-1422-released-3246/
https://wiki.postgresql.org/wiki/2026-02_Regression_Fixes |
15.14_2 05 Nov 2025 10:23:43
    |
Po-Chuan Hsieh (sunpoet)  |
databases/postgresql{13,14,15,16,17,18}-*: Multiple fixes
- Strip shared library and binary executable
- Fix stage-qa
- Bump PORTREVISION for package change
postgresql{13,14,15,16,17,18}-server:
- Clean up Makefile: Remove unnecessary ";\"
- Sort PLIST: share/locale comes before DATADIR (share/postgresql)
postgresql{17,18}-plperl:
- Remove duplicate USES=perl5
- Add missing USE_PERL5=run
from postgresql{17,18}-plperl build log:
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/postgresql/bool_plperl.so is linked to
/usr/local/lib/perl5/5.40/mach/CORE/libperl.so.5.40 from lang/perl5.40 but it is
not declared as a dependency
PR: 290587
Approved by: girgen |
15.14_1 11 Sep 2025 12:27:18
    |
Vanilla I. Shu (vanilla)  |
databases/postgresql*-client: install libpgfeutils.a, bump PORTREVISION.
Approved by: girgen@ |
15.13 08 May 2025 20:00:15
    |
Palle Girgensohn (girgen)  |
databases/postgresql??-*: Update to latest version
PostgreSQL 17.5, 16.9, 15.13, 14.18, and 13.21 Released!
The PostgreSQL Global Development Group has released an update to all
supported versions of PostgreSQL, including 17.5, 16.9, 15.13, 14.18,
and 13.21. This release fixes 1 security vulnerability and over 60 bugs
reported over the last several months.
Security: 78b8e808-2c45-11f0-9a65-6cc21735f730
Release
notes: https://www.postgresql.org/about/news/postgresql-175-169-1513-1418-and-1321-released-3072/ |
15.10_1 20 Jan 2025 12:14:02
    |
Michael Osipov (michaelo)  |
databases/postgresql1{3,4,5,6,7}-client: Recommend py-psycopg over py-psycopg2
Upstream Python package maintainers recommend using the psycopg 3.x over
psycopg2 for new projects since the latter is in maintenance mode only.
Approved by: girgen (pgsql)
Differential Revision: https://reviews.freebsd.org/D48493 |
15.8 08 Aug 2024 13:02:46
    |
Palle Girgensohn (girgen)  |
databases/postgresql??-*: Update to latest minor versions
The PostgreSQL Global Development Group has released an update to all
supported versions of PostgreSQL, including 16.4, 15.8, 14.13, 13.16,
and 12.20. This release fixes 1 security vulnerability and over 55 bugs
reported over the last several months.
PR: 279671 - make the rc script service jails aware
PR: 279536 - remove LLVM max version restriction
PR: 278887 - SETENV -> SETENVI for -contrib ports
Release notes: https://www.postgresql.org/docs/release/ |
15.b2 20 Jul 2022 14:21:07
    |
Tobias C. Berner (tcberner)  |
databases: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* "Mahdi Mokhtari <mokhi64@gmail.com>"
* "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
* <hvo.pm@xs4all.nl>
* <jsmith@resonatingmedia.com>
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Snelson <Alan@Wave2.org> (Only the first 15 lines of the commit message are shown above ) |
15.b2 04 Jul 2022 11:26:00
    |
Palle Girgensohn (girgen)  |
databases/postgresql15-*: update to 15beta2 |
15.b1_1 14 Jun 2022 21:02:40
    |
Palle Girgensohn (girgen)  |
databases/postgresql1[45]-client: add missing pg_amcheck tool
Also add some missing plist files for postgresql15-client and contrib |
15.b1 19 May 2022 13:36:48
    |
Palle Girgensohn (girgen)  |
databases/postgresql??-*: add postgresql-15 to the ports tree
Introduce PostgreSQL-15 to the ports tree.
Make version 15 the master port, and add plist parameter for the
postgresql version.
Release notes: https://www.postgresql.org/docs/devel/release.html |
Number of commits found: 10
|