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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
postgresql12-plpython Module for using Python to write SQL functions
12.18 databases on this many watch lists=0 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.12Version 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: 2022-09-07 21:58:51
Commit Hash: fb16dfe
Also Listed In: python
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 (54 items)
Collapse this list.
  1. /usr/local/share/licenses/postgresql12-plpython-12.18/catalog.mk
  2. /usr/local/share/licenses/postgresql12-plpython-12.18/LICENSE
  3. /usr/local/share/licenses/postgresql12-plpython-12.18/PostgreSQL
  4. include/postgresql/server/plpy_cursorobject.h
  5. include/postgresql/server/plpy_elog.h
  6. include/postgresql/server/plpy_exec.h
  7. include/postgresql/server/plpy_main.h
  8. include/postgresql/server/plpy_planobject.h
  9. include/postgresql/server/plpy_plpymodule.h
  10. include/postgresql/server/plpy_procedure.h
  11. include/postgresql/server/plpy_resultobject.h
  12. include/postgresql/server/plpy_spi.h
  13. include/postgresql/server/plpy_subxactobject.h
  14. include/postgresql/server/plpy_typeio.h
  15. include/postgresql/server/plpy_util.h
  16. include/postgresql/server/plpython.h
  17. include/postgresql/server/plpython_system.h
  18. lib/postgresql/pgxs/src/pl/plpython/regress-python3-mangle.mk
  19. share/doc/postgresql/README-plpython
  20. @comment lib/postgresql/plpython2.so
  21. lib/postgresql/plpython3.so
  22. @comment share/postgresql/extension/plpython2u--1.0.sql
  23. @comment share/postgresql/extension/plpython2u--unpackaged--1.0.sql
  24. @comment share/postgresql/extension/plpython2u.control
  25. share/postgresql/extension/plpython3u--1.0.sql
  26. share/postgresql/extension/plpython3u--unpackaged--1.0.sql
  27. share/postgresql/extension/plpython3u.control
  28. @comment share/postgresql/extension/plpythonu--1.0.sql
  29. @comment share/postgresql/extension/plpythonu--unpackaged--1.0.sql
  30. @comment share/postgresql/extension/plpythonu.control
  31. lib/postgresql/hstore_plpython3.so
  32. lib/postgresql/jsonb_plpython3.so
  33. lib/postgresql/ltree_plpython3.so
  34. share/postgresql/extension/hstore_plpython2u--1.0.sql
  35. share/postgresql/extension/hstore_plpython2u.control
  36. share/postgresql/extension/hstore_plpython3u--1.0.sql
  37. share/postgresql/extension/hstore_plpython3u.control
  38. share/postgresql/extension/hstore_plpythonu--1.0.sql
  39. share/postgresql/extension/hstore_plpythonu.control
  40. share/postgresql/extension/jsonb_plpython2u--1.0.sql
  41. share/postgresql/extension/jsonb_plpython2u.control
  42. share/postgresql/extension/jsonb_plpython3u--1.0.sql
  43. share/postgresql/extension/jsonb_plpython3u.control
  44. share/postgresql/extension/jsonb_plpythonu--1.0.sql
  45. share/postgresql/extension/jsonb_plpythonu.control
  46. share/postgresql/extension/ltree_plpython2u--1.0.sql
  47. share/postgresql/extension/ltree_plpython2u.control
  48. share/postgresql/extension/ltree_plpython3u--1.0.sql
  49. share/postgresql/extension/ltree_plpython3u.control
  50. share/postgresql/extension/ltree_plpythonu--1.0.sql
  51. share/postgresql/extension/ltree_plpythonu.control
  52. @owner
  53. @group
  54. @mode
Collapse this list.
Dependency lines:
  • postgresql12-plpython>0:databases/postgresql12-plpython
Conflicts:
CONFLICTS:
  • postgresql1[^2]*
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/databases/postgresql12-plpython/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/postgresql12-plpython
  • pkg install postgresql12-plpython
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql12-plpython
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1707301238 SHA256 (postgresql/postgresql-12.18.tar.bz2) = 4f9919725d941ce9868e07fe1ed1d3a86748599b483386547583928b74c3918a SIZE (postgresql/postgresql-12.18.tar.bz2) = 21208935

Packages (timestamps in pop-ups are UTC):
postgresql12-plpython
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest12.1812.1812.5-12.18-12.5-
FreeBSD:13:quarterly12.1712.1712.16-12.1712.1712.1712.17
FreeBSD:14:latest12.1812.1812.13-12.1812.15-12.15
FreeBSD:14:quarterly12.1712.17--12.1712.1712.1712.17
FreeBSD:15:latest12.1812.18n/a-n/a12.1712.1712.18
FreeBSD:15:quarterly--n/a-n/a---
Master port: databases/postgresql12-server
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. postgres : databases/postgresql12-server
  2. python3.9 : lang/python39
  3. gmake>=4.3 : devel/gmake
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. postgres : databases/postgresql12-server
  2. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
databases_postgresql12-plpython
USES:
pgsql:12 python tar:bzip2 cpe gmake
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://ftp.postgresql.org/pub/source/v12.18/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 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
    
    
Expand this list (1 items)
  • 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: 7

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
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.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
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
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.3
17 May 2020 20:37:04
Revision:535676Original commit files touched by this commit
girgen search for other commits by this committer
The PostgreSQL Global Development Group has released an update to all
supported versions of our database system, including 12.3, 11.8, 10.13,
9.6.18, and 9.5.22.  This release fixes one security issue found in the
PostgreSQL server and over 75 bugs reported over the last three months.

Please plan to update at your earliest convenience.

Update the backup warning text. [1]

Add plpython and plperl libs for hstore, jsonb and ltree for the versions where
they exist. These libs are added to the postgresql??-plpython and -plperl
ports, inspired by [2].

PR:		237910 [1], 245246 [2]
Submitted by:	Francesco [1], Loic Bartoletti [2]
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: 7