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
postgresql15-pltcl Module for using Tcl to write SQL functions
15.10 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 15.8Version of this port present on the latest quarterly branch.
Maintainer: pgsql@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-05-19 13:39:06
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
Also Listed In: tcl
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 (12 items)
Collapse this list.
  1. /usr/local/share/licenses/postgresql15-pltcl-15.10/catalog.mk
  2. /usr/local/share/licenses/postgresql15-pltcl-15.10/LICENSE
  3. /usr/local/share/licenses/postgresql15-pltcl-15.10/PostgreSQL
  4. share/postgresql/extension/pltcl--1.0.sql
  5. share/postgresql/extension/pltcl.control
  6. share/postgresql/extension/pltclu.control
  7. share/postgresql/extension/pltclu--1.0.sql
  8. share/doc/postgresql/README-pltcl
  9. lib/postgresql/pltcl.so
  10. @owner
  11. @group
  12. @mode
Collapse this list.
Dependency lines:
  • postgresql15-pltcl>0:databases/postgresql15-pltcl
Conflicts:
CONFLICTS:
  • postgresql1[^5]*
To install the port:
cd /usr/ports/databases/postgresql15-pltcl/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/postgresql15-pltcl
  • pkg install postgresql15-pltcl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql15-pltcl
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1732004005 SHA256 (postgresql/postgresql-15.10.tar.bz2) = 55abe738d441f0e58658b3ec6f88097a713b5e3b73139f6230d7b5c4c389e573 SIZE (postgresql/postgresql-15.10.tar.bz2) = 23138615

Packages (timestamps in pop-ups are UTC):
postgresql15-pltcl
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest15.1015.10-15.1015.10---
FreeBSD:13:quarterly15.1015.1015.415.1015.1015.515.515.5
FreeBSD:14:latest15.1015.1015.115.1015.1015.3-15.3
FreeBSD:14:quarterly15.1015.10-15.1015.1015.515.515.5
FreeBSD:15:latest15.1015.10n/a15.10n/a15.515.515.6
Master port: databases/postgresql15-server
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. postgres : databases/postgresql15-server
  2. gmake>=4.4.1 : devel/gmake
Runtime dependencies:
  1. postgres : databases/postgresql15-server
Library dependencies:
  1. libtcl86.so : lang/tcl86
This port is required by:
for Build
  1. net-mgmt/netmagis-database
for Run
  1. net-mgmt/netmagis-database

Configuration Options:
No options to configure
Options name:
databases_postgresql15-pltcl
USES:
tcl pgsql:15 tar:bzip2 cpe gmake
pkg-message:
For install:
PL/Tcl has been installed. Check the createlang(l) manpage for more info. You can install pltcl as trusted or untrusted, by using either "createlang pltcl" or "createlang pltclu".
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://ftp.postgresql.org/pub/source/v15.10/
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.

Number of commits found: 3

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
CommitCreditsLog message
15.8
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/
15.b2
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)
15.b1
19 May 2022 13:36:48
commit hash: 5b11f47f0d59c95f6dcf1ff75badede5ec84e72ecommit hash: 5b11f47f0d59c95f6dcf1ff75badede5ec84e72ecommit hash: 5b11f47f0d59c95f6dcf1ff75badede5ec84e72ecommit hash: 5b11f47f0d59c95f6dcf1ff75badede5ec84e72e files touched by this commit
Palle Girgensohn (girgen) search for other commits by this committer
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: 3