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
Port details
postgresql12-contrib The contrib utilities from the PostgreSQL distribution
12.20 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 12.20Version of this port present on the latest quarterly branch.
Maintainer: pgsql@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-08-08 15:33:17
Last Update: 2024-08-08 13:02:46
Commit Hash: b4e71c8
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-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

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

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Master port: databases/postgresql12-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/postgresql12-client
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for postgresql12-contrib-12.20: 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_postgresql12-contrib
USES:
bison pgsql:12 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/v12.20/
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) See the updating entry 20190829 if you are updating from a release prior to 11.
      3) 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) See the updating entry 20190829 if you are updating from a release prior to 11.
      3) If you use non-default initdb options, you have to adjust the initdb-command accordingly
    
    
  • Collapse this list.
Port Moves

Number of commits found: 13

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/postgresql12-server
CommitCreditsLog message
12.20
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/
12.12
10 Sep 2022 17:41:16
commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32commit hash: e79fe1aabc5b83364240652d62b99198a9ccfb32 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Author: Tobias Kortkamp
Fix WWW in parent/child ports

Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
12.12
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.11
20 Jul 2022 14:21:07
commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
12.11
12 May 2022 13:41:07
commit hash: 6c00f6e30fbd66a5ccc7173c9f4aca3122cd4c63commit hash: 6c00f6e30fbd66a5ccc7173c9f4aca3122cd4c63commit hash: 6c00f6e30fbd66a5ccc7173c9f4aca3122cd4c63commit hash: 6c00f6e30fbd66a5ccc7173c9f4aca3122cd4c63 files touched by this commit
Palle Girgensohn (girgen) search for other commits by this committer
databases/postgresql??-server: update to latest version

The PostgreSQL Global Development Group has released an update to all
supported versions of PostgreSQL, including 14.3, 13.7, 12.11, 11.16,
and 10.21. This release fixes over 50 bugs reported over the last three
months. This release closes one security vulnerability and fixes over 50
bugs reported over the last three months.

We encourage you to install this update at your earliest possible
convenience.

If you have any GiST indexes on columns using the ltree data type, you
will need to reindex them after upgrading.

For the full list of changes, please review the release notes.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
12.10_2
10 Apr 2022 19:11:41
commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744commit hash: d63665f7cd9c99880704a3c5bc221829cb009744 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
textproc/libxml2: bump all LIB_DEPENDS consumers

This is a separate commit to facilitate easier cherry-picking for
quarterly.

PR: 262853, 262940, 262877, 263126
Approved by: fluffy (mentor)
12.10_1
26 Mar 2022 08:27:27
commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52commit hash: 247c7db7513f1264922428278678da641c5a3f52 files touched by this commit
Matthias Fechner (mfechner) search for other commits by this committer
textproc/libxml2: bump all dependencies

This should make sure that all dependent ports will pick
up the new version commited with a13ec21cd733f67a9fc0dc00ab45268bdc236246
12.7
20 May 2021 14:38:55
commit hash: fccc45e5ff4a8aea150005196c0d4f2cbaeed5dbcommit hash: fccc45e5ff4a8aea150005196c0d4f2cbaeed5dbcommit hash: fccc45e5ff4a8aea150005196c0d4f2cbaeed5dbcommit hash: fccc45e5ff4a8aea150005196c0d4f2cbaeed5db files touched by this commit
Palle Girgensohn (girgen) search for other commits by this committer
databases/postgresql14-*: Add postgresql 14 beta1 the the ports tree.

Release notes:	https://www.postgresql.org/docs/devel/release-14.html

Also reintroduce parallel builds. Some components, namely plperl,
plpython, pltcl and contrib, fail to build properly when using parallel
builds. Something with static linking using `ar` that fails.
MAKE_JOBS_UNSAFE is set for these ports.
12.6
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
12.4
25 Sep 2020 15:53:43
Revision:550051Original commit files touched by this commit
girgen search for other commits by this committer
Fix depenedency for postgresql13-contrib

And avoid hardcoding the version for all other versions as well, per suggestion
in the PR.

PR:		249888
Submitted by:	Christian Ullrich
12.b3
17 Aug 2019 16:56:18
Revision:509159Original commit files touched by this commit
adamw search for other commits by this committer
Add an XML option to postgresql12-contrib

Avoids libxml2/libxslt for systems that don't need XML support.
Although there was substantial interest in the PR to backport to
10, I've only done pgsql12 for now, as I don't want to interfere
with the effort to make pgsql11 the default. If things work well
here, it can be backported to earlier versions as well.

PR:		239638
Approved by:	maintainer timeout (2 weeks)
12.b3
08 Aug 2019 15:33:03
Revision:508390Original commit files touched by this commit
girgen search for other commits by this committer
iThe PostgreSQL Global Development Group has released an update to all
supported versions of our database system, including 11.5, 10.10,
9.6.15, 9.5.19, and 9.4.24, as well as the third beta of PostgreSQL 12.
This release fixes two security issues in the PostgreSQL server, two
security issues found in one of the PostgreSQL Windows installers, and
over 40 bugs reported since the previous release.

Users should install these updates as soon as possible.

A Note on the PostgreSQL 12 Beta
================================

In the spirit of the open source PostgreSQL community, we strongly
encourage you to test the new features of PostgreSQL 12 in your database
systems to help us eliminate any bugs or other issues that may exist.
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 13