Port details |
- postgresql16-contrib The contrib utilities from the PostgreSQL distribution
- 16.4 databases =3 16.4Version of this port present on the latest quarterly branch.
- Maintainer: pgsql@FreeBSD.org
- Port Added: 2023-07-05 14:15:11
- Last Update: 2024-08-08 13:02:46
- Commit Hash: b4e71c8
- People watching this port, also watch:: libXdamage, libevent, xcb-util-image, yarn-node20, phpsysinfo-php82
- 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 - Dependency lines:
-
- postgresql16-contrib>0:databases/postgresql16-contrib
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/databases/postgresql16-contrib/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/postgresql16-contrib
- pkg install postgresql16-contrib
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: postgresql16-contrib
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1722892660
SHA256 (postgresql/postgresql-16.4.tar.bz2) = 971766d645aa73e93b9ef4e3be44201b4f45b5477095b049125403f9f3386d6f
SIZE (postgresql/postgresql-16.4.tar.bz2) = 24765786
Packages (timestamps in pop-ups are UTC):
- Master port: databases/postgresql16-server
- 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
- Library dependencies:
-
- libxml2.so : textproc/libxml2
- libpq.so.5 : databases/postgresql16-client
- This port is required by:
- for Build
-
- databases/pg_stat_kcache
- databases/postgis31
- databases/postgis32
- databases/postgis33
- databases/postgis34
- databases/postgis35
- net-mgmt/icingadb
- for Run
-
- databases/pg_stat_kcache
- databases/postgis31
- databases/postgis32
- databases/postgis33
- databases/postgis34
- databases/postgis35
- net-mgmt/icingadb
Configuration Options:
- ===> The following configuration options are available for postgresql16-contrib-16.4:
DOCS=on: Build and/or install documentation
OPENSSL=on: Build with OpenSSL support
XML=on: XML format or parser support
===> Use 'make config' to modify these settings
- Options name:
- databases_postgresql16-contrib
- USES:
- bison pgsql:16 tar:bzip2 cpe gmake ssl
- pkg-message:
- For install:
- The PostgreSQL contrib utilities have been installed. Please see
/usr/local/share/doc/postgresql/README-contrib
for more information.
- Master Sites:
|
Notes from UPDATING |
- These upgrade notes are taken from /usr/ports/UPDATING
- 2024-07-23
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 15 to 16.
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 15, your
files are named according to this.
# service postgresql stop
# pkg create postgresql15-server postgresql15-contrib
# mkdir /tmp/pg-upgrade
# tar xf postgresql15-server-15.7.pkg -C /tmp/pg-upgrade
# tar xf postgresql15-contrib-15.7.pkg -C /tmp/pg-upgrade
# pkg delete -f databases/postgresql15-server databases/postgresql15-contrib databases/postgresql15-client
Now update PostgreSQL:
pkg user:
# pkg install databases/postgresql16-server databases/postgresql16-contrib
# pkg upgrade
Portmaster users:
# portmaster databases/postgresql16-server databases/postgresql16-contrib
# portmaster -a
Portupgrade users:
# portinstall databases/postgresql16-server databases/postgresql16-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 -D /var/db/postgres/data16 -U postgres"
# su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data15/ -B /usr/local/bin/ -D /var/db/postgres/data16/ -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
|
Number of commits found: 2
Number of commits found: 2
|