notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
postgresql16-contrib The contrib utilities from the PostgreSQL distribution
16.8 databases on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 16.4Version of this port present on the latest quarterly branch.
Maintainer: pgsql@FreeBSD.org search for ports maintained by this maintainer
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:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (274 items)
Collapse this list.
  1. /usr/local/share/licenses/postgresql16-contrib-16.8/catalog.mk
  2. /usr/local/share/licenses/postgresql16-contrib-16.8/LICENSE
  3. /usr/local/share/licenses/postgresql16-contrib-16.8/PostgreSQL
  4. bin/oid2name
  5. bin/vacuumlo
  6. include/postgresql/server/extension/cube/cubedata.h
  7. include/postgresql/server/extension/hstore/hstore.h
  8. include/postgresql/server/extension/isn/isn.h
  9. include/postgresql/server/extension/ltree/ltree.h
  10. include/postgresql/server/extension/seg/segdata.h
  11. lib/postgresql/_int.so
  12. lib/postgresql/adminpack.so
  13. lib/postgresql/amcheck.so
  14. lib/postgresql/auth_delay.so
  15. lib/postgresql/auto_explain.so
  16. lib/postgresql/autoinc.so
  17. lib/postgresql/basebackup_to_shell.so
  18. lib/postgresql/basic_archive.so
  19. lib/postgresql/bloom.so
  20. lib/postgresql/btree_gin.so
  21. lib/postgresql/btree_gist.so
  22. lib/postgresql/citext.so
  23. lib/postgresql/cube.so
  24. lib/postgresql/dblink.so
  25. lib/postgresql/dict_int.so
  26. lib/postgresql/dict_xsyn.so
  27. lib/postgresql/earthdistance.so
  28. lib/postgresql/file_fdw.so
  29. lib/postgresql/fuzzystrmatch.so
  30. lib/postgresql/hstore.so
  31. lib/postgresql/insert_username.so
  32. lib/postgresql/isn.so
  33. lib/postgresql/lo.so
  34. lib/postgresql/ltree.so
  35. lib/postgresql/moddatetime.so
  36. lib/postgresql/old_snapshot.so
  37. lib/postgresql/pageinspect.so
  38. lib/postgresql/passwordcheck.so
  39. lib/postgresql/pg_buffercache.so
  40. lib/postgresql/pg_freespacemap.so
  41. lib/postgresql/pg_prewarm.so
  42. lib/postgresql/pg_stat_statements.so
  43. lib/postgresql/pg_surgery.so
  44. lib/postgresql/pg_trgm.so
  45. lib/postgresql/pg_visibility.so
  46. lib/postgresql/pg_walinspect.so
  47. lib/postgresql/pgcrypto.so
  48. lib/postgresql/pgrowlocks.so
  49. lib/postgresql/pgstattuple.so
  50. lib/postgresql/pgxml.so
  51. lib/postgresql/postgres_fdw.so
  52. lib/postgresql/refint.so
  53. lib/postgresql/seg.so
  54. lib/postgresql/sslinfo.so
  55. lib/postgresql/tablefunc.so
  56. lib/postgresql/tcn.so
  57. lib/postgresql/test_decoding.so
  58. lib/postgresql/tsm_system_rows.so
  59. lib/postgresql/tsm_system_time.so
  60. lib/postgresql/unaccent.so
  61. lib/postgresql/uuid-ossp.so
  62. share/doc/postgresql/README-contrib
  63. share/doc/postgresql/extension/README
  64. share/doc/postgresql/extension/autoinc.example
  65. share/doc/postgresql/extension/insert_username.example
  66. share/doc/postgresql/extension/moddatetime.example
  67. share/doc/postgresql/extension/refint.example
  68. share/postgresql/extension/adminpack--1.0--1.1.sql
  69. share/postgresql/extension/adminpack--1.0.sql
  70. share/postgresql/extension/adminpack--1.1--2.0.sql
  71. share/postgresql/extension/adminpack--2.0--2.1.sql
  72. share/postgresql/extension/adminpack.control
  73. share/postgresql/extension/amcheck--1.0--1.1.sql
  74. share/postgresql/extension/amcheck--1.0.sql
  75. share/postgresql/extension/amcheck--1.1--1.2.sql
  76. share/postgresql/extension/amcheck--1.2--1.3.sql
  77. share/postgresql/extension/amcheck.control
  78. share/postgresql/extension/autoinc--1.0.sql
  79. share/postgresql/extension/autoinc.control
  80. share/postgresql/extension/bloom--1.0.sql
  81. share/postgresql/extension/bloom.control
  82. share/postgresql/extension/btree_gin--1.0--1.1.sql
  83. share/postgresql/extension/btree_gin--1.0.sql
  84. share/postgresql/extension/btree_gin--1.1--1.2.sql
  85. share/postgresql/extension/btree_gin--1.2--1.3.sql
  86. share/postgresql/extension/btree_gin.control
  87. share/postgresql/extension/btree_gist--1.0--1.1.sql
  88. share/postgresql/extension/btree_gist--1.1--1.2.sql
  89. share/postgresql/extension/btree_gist--1.2--1.3.sql
  90. share/postgresql/extension/btree_gist--1.2.sql
  91. share/postgresql/extension/btree_gist--1.3--1.4.sql
  92. share/postgresql/extension/btree_gist--1.4--1.5.sql
  93. share/postgresql/extension/btree_gist--1.5--1.6.sql
  94. share/postgresql/extension/btree_gist--1.6--1.7.sql
  95. share/postgresql/extension/btree_gist.control
  96. share/postgresql/extension/citext--1.0--1.1.sql
  97. share/postgresql/extension/citext--1.1--1.2.sql
  98. share/postgresql/extension/citext--1.2--1.3.sql
  99. share/postgresql/extension/citext--1.3--1.4.sql
  100. share/postgresql/extension/citext--1.4--1.5.sql
  101. share/postgresql/extension/citext--1.4.sql
  102. share/postgresql/extension/citext--1.5--1.6.sql
  103. share/postgresql/extension/citext.control
  104. share/postgresql/extension/cube--1.0--1.1.sql
  105. share/postgresql/extension/cube--1.1--1.2.sql
  106. share/postgresql/extension/cube--1.2--1.3.sql
  107. share/postgresql/extension/cube--1.2.sql
  108. share/postgresql/extension/cube--1.3--1.4.sql
  109. share/postgresql/extension/cube--1.4--1.5.sql
  110. share/postgresql/extension/cube.control
  111. share/postgresql/extension/dblink--1.0--1.1.sql
  112. share/postgresql/extension/dblink--1.1--1.2.sql
  113. share/postgresql/extension/dblink--1.2.sql
  114. share/postgresql/extension/dblink.control
  115. share/postgresql/extension/dict_int--1.0.sql
  116. share/postgresql/extension/dict_int.control
  117. share/postgresql/extension/dict_xsyn--1.0.sql
  118. share/postgresql/extension/dict_xsyn.control
  119. share/postgresql/extension/earthdistance--1.0--1.1.sql
  120. share/postgresql/extension/earthdistance--1.1--1.2.sql
  121. share/postgresql/extension/earthdistance--1.1.sql
  122. share/postgresql/extension/earthdistance.control
  123. share/postgresql/extension/file_fdw--1.0.sql
  124. share/postgresql/extension/file_fdw.control
  125. share/postgresql/extension/fuzzystrmatch--1.0--1.1.sql
  126. share/postgresql/extension/fuzzystrmatch--1.1--1.2.sql
  127. share/postgresql/extension/fuzzystrmatch--1.1.sql
  128. share/postgresql/extension/fuzzystrmatch.control
  129. share/postgresql/extension/hstore--1.1--1.2.sql
  130. share/postgresql/extension/hstore--1.2--1.3.sql
  131. share/postgresql/extension/hstore--1.3--1.4.sql
  132. share/postgresql/extension/hstore--1.4--1.5.sql
  133. share/postgresql/extension/hstore--1.4.sql
  134. share/postgresql/extension/hstore--1.5--1.6.sql
  135. share/postgresql/extension/hstore--1.6--1.7.sql
  136. share/postgresql/extension/hstore--1.7--1.8.sql
  137. share/postgresql/extension/hstore.control
  138. share/postgresql/extension/insert_username--1.0.sql
  139. share/postgresql/extension/insert_username.control
  140. share/postgresql/extension/intagg--1.0--1.1.sql
  141. share/postgresql/extension/intagg--1.1.sql
  142. share/postgresql/extension/intagg.control
  143. share/postgresql/extension/intarray--1.0--1.1.sql
  144. share/postgresql/extension/intarray--1.1--1.2.sql
  145. share/postgresql/extension/intarray--1.2--1.3.sql
  146. share/postgresql/extension/intarray--1.2.sql
  147. share/postgresql/extension/intarray--1.3--1.4.sql
  148. share/postgresql/extension/intarray--1.4--1.5.sql
  149. share/postgresql/extension/intarray.control
  150. share/postgresql/extension/isn--1.0--1.1.sql
  151. share/postgresql/extension/isn--1.1--1.2.sql
  152. share/postgresql/extension/isn--1.1.sql
  153. share/postgresql/extension/isn.control
  154. share/postgresql/extension/lo--1.0--1.1.sql
  155. share/postgresql/extension/lo--1.1.sql
  156. share/postgresql/extension/lo.control
  157. share/postgresql/extension/ltree--1.0--1.1.sql
  158. share/postgresql/extension/ltree--1.1--1.2.sql
  159. share/postgresql/extension/ltree--1.1.sql
  160. share/postgresql/extension/ltree.control
  161. share/postgresql/extension/moddatetime--1.0.sql
  162. share/postgresql/extension/moddatetime.control
  163. share/postgresql/extension/old_snapshot--1.0.sql
  164. share/postgresql/extension/old_snapshot.control
  165. share/postgresql/extension/pageinspect--1.0--1.1.sql
  166. share/postgresql/extension/pageinspect--1.1--1.2.sql
  167. share/postgresql/extension/pageinspect--1.10--1.11.sql
  168. share/postgresql/extension/pageinspect--1.11--1.12.sql
  169. share/postgresql/extension/pageinspect--1.2--1.3.sql
  170. share/postgresql/extension/pageinspect--1.3--1.4.sql
  171. share/postgresql/extension/pageinspect--1.4--1.5.sql
  172. share/postgresql/extension/pageinspect--1.5--1.6.sql
  173. share/postgresql/extension/pageinspect--1.5.sql
  174. share/postgresql/extension/pageinspect--1.6--1.7.sql
  175. share/postgresql/extension/pageinspect--1.7--1.8.sql
  176. share/postgresql/extension/pageinspect--1.8--1.9.sql
  177. share/postgresql/extension/pageinspect--1.9--1.10.sql
  178. share/postgresql/extension/pageinspect.control
  179. share/postgresql/extension/pg_buffercache--1.0--1.1.sql
  180. share/postgresql/extension/pg_buffercache--1.1--1.2.sql
  181. share/postgresql/extension/pg_buffercache--1.2--1.3.sql
  182. share/postgresql/extension/pg_buffercache--1.2.sql
  183. share/postgresql/extension/pg_buffercache--1.3--1.4.sql
  184. share/postgresql/extension/pg_buffercache.control
  185. share/postgresql/extension/pg_freespacemap--1.0--1.1.sql
  186. share/postgresql/extension/pg_freespacemap--1.1--1.2.sql
  187. share/postgresql/extension/pg_freespacemap--1.1.sql
  188. share/postgresql/extension/pg_freespacemap.control
  189. share/postgresql/extension/pg_prewarm--1.0--1.1.sql
  190. share/postgresql/extension/pg_prewarm--1.1--1.2.sql
  191. share/postgresql/extension/pg_prewarm--1.1.sql
  192. share/postgresql/extension/pg_prewarm.control
  193. share/postgresql/extension/pg_stat_statements--1.0--1.1.sql
  194. share/postgresql/extension/pg_stat_statements--1.1--1.2.sql
  195. share/postgresql/extension/pg_stat_statements--1.2--1.3.sql
  196. share/postgresql/extension/pg_stat_statements--1.3--1.4.sql
  197. share/postgresql/extension/pg_stat_statements--1.4--1.5.sql
  198. share/postgresql/extension/pg_stat_statements--1.4.sql
  199. share/postgresql/extension/pg_stat_statements--1.5--1.6.sql
  200. share/postgresql/extension/pg_stat_statements--1.6--1.7.sql
  201. share/postgresql/extension/pg_stat_statements--1.7--1.8.sql
  202. share/postgresql/extension/pg_stat_statements--1.8--1.9.sql
  203. share/postgresql/extension/pg_stat_statements--1.9--1.10.sql
  204. share/postgresql/extension/pg_stat_statements.control
  205. share/postgresql/extension/pg_surgery--1.0.sql
  206. share/postgresql/extension/pg_surgery.control
  207. share/postgresql/extension/pg_trgm--1.0--1.1.sql
  208. share/postgresql/extension/pg_trgm--1.1--1.2.sql
  209. share/postgresql/extension/pg_trgm--1.2--1.3.sql
  210. share/postgresql/extension/pg_trgm--1.3--1.4.sql
  211. share/postgresql/extension/pg_trgm--1.3.sql
  212. share/postgresql/extension/pg_trgm--1.4--1.5.sql
  213. share/postgresql/extension/pg_trgm--1.5--1.6.sql
  214. share/postgresql/extension/pg_trgm.control
  215. share/postgresql/extension/pg_visibility--1.0--1.1.sql
  216. share/postgresql/extension/pg_visibility--1.1--1.2.sql
  217. share/postgresql/extension/pg_visibility--1.1.sql
  218. share/postgresql/extension/pg_visibility.control
  219. share/postgresql/extension/pg_walinspect--1.0--1.1.sql
  220. share/postgresql/extension/pg_walinspect--1.0.sql
  221. share/postgresql/extension/pg_walinspect.control
  222. share/postgresql/extension/pgcrypto--1.0--1.1.sql
  223. share/postgresql/extension/pgcrypto--1.1--1.2.sql
  224. share/postgresql/extension/pgcrypto--1.2--1.3.sql
  225. share/postgresql/extension/pgcrypto--1.3.sql
  226. share/postgresql/extension/pgcrypto.control
  227. share/postgresql/extension/pgrowlocks--1.0--1.1.sql
  228. share/postgresql/extension/pgrowlocks--1.1--1.2.sql
  229. share/postgresql/extension/pgrowlocks--1.2.sql
  230. share/postgresql/extension/pgrowlocks.control
  231. share/postgresql/extension/pgstattuple--1.0--1.1.sql
  232. share/postgresql/extension/pgstattuple--1.1--1.2.sql
  233. share/postgresql/extension/pgstattuple--1.2--1.3.sql
  234. share/postgresql/extension/pgstattuple--1.3--1.4.sql
  235. share/postgresql/extension/pgstattuple--1.4--1.5.sql
  236. share/postgresql/extension/pgstattuple--1.4.sql
  237. share/postgresql/extension/pgstattuple.control
  238. share/postgresql/extension/postgres_fdw--1.0--1.1.sql
  239. share/postgresql/extension/postgres_fdw--1.0.sql
  240. share/postgresql/extension/postgres_fdw.control
  241. share/postgresql/extension/refint--1.0.sql
  242. share/postgresql/extension/refint.control
  243. share/postgresql/extension/seg--1.0--1.1.sql
  244. share/postgresql/extension/seg--1.1--1.2.sql
  245. share/postgresql/extension/seg--1.1.sql
  246. share/postgresql/extension/seg--1.2--1.3.sql
  247. share/postgresql/extension/seg--1.3--1.4.sql
  248. share/postgresql/extension/seg.control
  249. share/postgresql/extension/tablefunc--1.0.sql
  250. share/postgresql/extension/tablefunc.control
  251. share/postgresql/extension/tcn--1.0.sql
  252. share/postgresql/extension/tcn.control
  253. share/postgresql/extension/tsm_system_rows--1.0.sql
  254. share/postgresql/extension/tsm_system_rows.control
  255. share/postgresql/extension/tsm_system_time--1.0.sql
  256. share/postgresql/extension/tsm_system_time.control
  257. share/postgresql/extension/unaccent--1.0--1.1.sql
  258. share/postgresql/extension/unaccent--1.1.sql
  259. share/postgresql/extension/unaccent.control
  260. share/postgresql/extension/uuid-ossp--1.0--1.1.sql
  261. share/postgresql/extension/uuid-ossp--1.1.sql
  262. share/postgresql/extension/uuid-ossp.control
  263. share/postgresql/tsearch_data/unaccent.rules
  264. share/postgresql/tsearch_data/xsyn_sample.rules
  265. share/postgresql/extension/sslinfo--1.0--1.1.sql
  266. share/postgresql/extension/sslinfo--1.1--1.2.sql
  267. share/postgresql/extension/sslinfo--1.2.sql
  268. share/postgresql/extension/sslinfo.control
  269. share/postgresql/extension/xml2--1.0--1.1.sql
  270. share/postgresql/extension/xml2--1.1.sql
  271. share/postgresql/extension/xml2.control
  272. @owner
  273. @group
  274. @mode
Collapse this list.
Dependency lines:
  • postgresql16-contrib>0:databases/postgresql16-contrib
Conflicts:
CONFLICTS:
  • postgresql1[^6]*
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 = 1739873709 SHA256 (postgresql/postgresql-16.8.tar.bz2) = 9468083a56ce0ee7d294601b74dad3dd9fc69d87aff61f0a9fb63c813ff7efd8 SIZE (postgresql/postgresql-16.8.tar.bz2) = 24911337

Packages (timestamps in pop-ups are UTC):
postgresql16-contrib
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest16.816.8-16.816.8---
FreeBSD:13:quarterly16.816.8-16.816.816.116.116.1
FreeBSD:14:latest16.816.8-16.816.8---
FreeBSD:14:quarterly16.816.8-16.816.816.116.116.1
FreeBSD:15:latest16.816.8n/a16.8n/a16.116.116.2
Master port: databases/postgresql16-server
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bison : devel/bison
  2. gmake>=4.4.1 : devel/gmake
Library dependencies:
  1. libxml2.so : textproc/libxml2
  2. libpq.so.5 : databases/postgresql16-client
This port is required by:
for Build
  1. databases/pg_stat_kcache
  2. databases/postgis33
  3. databases/postgis34
  4. databases/postgis35
  5. databases/powa-archivist
  6. net-mgmt/icingadb

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. databases/postgis31*
  2. databases/postgis32*
  3. Collapse this list of deleted ports.
for Run
  1. databases/pg_stat_kcache
  2. databases/postgis33
  3. databases/postgis34
  4. databases/postgis35
  5. databases/powa-archivist
  6. net-mgmt/icingadb

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. databases/postgis31*
  2. databases/postgis32*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for postgresql16-contrib-16.8: 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:
Expand this list (1 items)
Collapse this list.
  1. https://ftp.postgresql.org/pub/source/v16.8/
Collapse this list.
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
    
    
Expand this list (2 items)
  • 2023-09-08
    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 13 to 15.
      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 13, your
      files are named according to this.
    
      # service postgresql stop
      # pkg create postgresql13-server postgresql13-contrib
      # mkdir /tmp/pg-upgrade
      # tar xf postgresql13-server-13.12.pkg -C /tmp/pg-upgrade
      # tar xf postgresql13-contrib-13.12.pkg -C /tmp/pg-upgrade
      # pkg delete -f databases/postgresql13-server databases/postgresql13-contrib databases/postgresql13-client
    
      Now update PostgreSQL:
    
        pkg user:
        # pkg install databases/postgresql15-server databases/postgresql15-contrib
        # pkg upgrade
    
        Portmaster users:
        # portmaster databases/postgresql15-server databases/postgresql15-contrib
        # portmaster -a
    
        Portupgrade users:
        # portinstall databases/postgresql15-server databases/postgresql15-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/data15 -U postgres"
      # su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data13/ -B /usr/local/bin/ -D /var/db/postgres/data15/ -U postgres "
    
      Now the migration is finished. You can start PostgreSQL again with:
    
      # service postgresql start
    
      ATTENTION:
      1) The default user changed from "pgsql" to "postgres" in 11. The migration steps above now assume
         the "postgres" database user and FreeBSD user.
      2) If you use non-default initdb options, you have to adjust the initdb-command accordingly
    
    
  • 2021-10-24
    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 12 to 13.
      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 12.8, your
      files are named according to this.
    
      # service postgresql stop
      # pkg create postgresql12-server postgresql12-contrib
      # mkdir /tmp/pg-upgrade
      # tar xf postgresql12-server-12.8.pkg -C /tmp/pg-upgrade
      # tar xf postgresql12-contrib-12.8.pkg -C /tmp/pg-upgrade
      # pkg delete -f databases/postgresql12-server databases/postgresql12-contrib databases/postgresql12-client
    
      Now update PostgreSQL:
    
        pkg user:
        # pkg install databases/postgresql13-server databases/postgresql13-contrib
        # pkg upgrade
    
        Portmaster users:
        # portmaster databases/postgresql13-server databases/postgresql13-contrib
        # portmaster -a
    
        Portupgrade users:
        # portinstall databases/postgresql13-server databases/postgresql13-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/data13 -U postgres"
      # su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data12/ -B /usr/local/bin/ -D /var/db/postgres/data13/ -U postgres "
    
      Now the migration is finished. You can start PostgreSQL again with:
    
      # service postgresql start
    
      ATTENTION:
      1) The default user changed from "pgsql" to "postgres" in 11. The migration steps above now assume
         the "postgres" database user and FreeBSD user.
      2) If you use non-default initdb options, you have to adjust the initdb-command accordingly
    
    
  • Collapse this list.

Number of commits found: 2

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/postgresql16-server
CommitCreditsLog message
16.4
08 Aug 2024 13:02:46
commit hash: b4e71c8402d027a49eeddb5b585b591019654bb8commit hash: b4e71c8402d027a49eeddb5b585b591019654bb8commit hash: b4e71c8402d027a49eeddb5b585b591019654bb8commit hash: b4e71c8402d027a49eeddb5b585b591019654bb8 files touched by this commit
Palle Girgensohn (girgen) search for other commits by this committer
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/
16.b1
05 Jul 2023 14:11:39
commit hash: 4ee225f90aa3f81a418859086a0bca660f44e7efcommit hash: 4ee225f90aa3f81a418859086a0bca660f44e7efcommit hash: 4ee225f90aa3f81a418859086a0bca660f44e7efcommit hash: 4ee225f90aa3f81a418859086a0bca660f44e7ef files touched by this commit
Palle Girgensohn (girgen) search for other commits by this committer
databases/postgresql16-*: Introduce postgresql16 beta 1

URL:	https://www.postgresql.org/about/news/postgresql-16-beta-1-released-2643/
Release notes:	https://www.postgresql.org/docs/16/release-16.html

Number of commits found: 2