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
postgresql-plproxy Function-based sharding for PostgreSQL
2.10.0 databases on this many watch lists=1 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 2.10.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2007-07-26 21:20:55
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: postgis-jdbc
License: ISCL
WWW:
https://plproxy.github.io/
Description:
PL/Proxy is a PostgreSQL procedural language (PL) handler that allows to do remote procedure calls between PostgreSQL databases, with optional sharding. PL/Proxy was developed in Skype as a scalability solution for PostgreSQL database. At first it was very thin PL component that connected to C++ server that handled all sharding decisions. This proved to be too complex setup and in version 2 it was re-written to current archtecture of PL that handles sharding and generic pooler process (PgBouncer) that is able to handle large amount of standard PostgreSQL connections that the PL makes.
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 (16 items)
Collapse this list.
  1. /usr/local/share/licenses/postgresql-plproxy-2.10.0/catalog.mk
  2. /usr/local/share/licenses/postgresql-plproxy-2.10.0/LICENSE
  3. /usr/local/share/licenses/postgresql-plproxy-2.10.0/ISCL
  4. lib/postgresql/plproxy.so
  5. share/postgresql/extension/plproxy--2.10.0.sql
  6. share/postgresql/extension/plproxy--2.3.0--2.10.0.sql
  7. share/postgresql/extension/plproxy--2.4.0--2.10.0.sql
  8. share/postgresql/extension/plproxy--2.5.0--2.10.0.sql
  9. share/postgresql/extension/plproxy--2.6.0--2.10.0.sql
  10. share/postgresql/extension/plproxy--2.7.0--2.10.0.sql
  11. share/postgresql/extension/plproxy--2.8.0--2.10.0.sql
  12. share/postgresql/extension/plproxy--2.9.0--2.10.0.sql
  13. share/postgresql/extension/plproxy.control
  14. @owner
  15. @group
  16. @mode
Collapse this list.
Dependency lines:
  • postgresql-plproxy>0:databases/postgresql-plproxy
To install the port:
cd /usr/ports/databases/postgresql-plproxy/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/postgresql-plproxy
  • pkg install postgresql-plproxy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql-plproxy
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1601319664 SHA256 (plproxy-2.10.0.tar.gz) = 2b7eac566bb476fb73185951d1d73c1255c027013d3d9670f8ac7dbe55c4560d SIZE (plproxy-2.10.0.tar.gz) = 77653

Packages (timestamps in pop-ups are UTC):
postgresql-plproxy
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.10.02.10.02.10.02.10.02.10.0-2.10.0-
FreeBSD:13:quarterly2.10.02.10.02.10.02.10.02.10.02.10.02.10.02.10.0
FreeBSD:14:latest2.10.02.10.02.10.02.10.02.10.02.10.0-2.10.0
FreeBSD:14:quarterly2.10.02.10.0-2.10.02.10.02.10.02.10.02.10.0
FreeBSD:15:latest2.10.02.10.0n/a2.10.0n/a2.10.02.10.02.10.0
FreeBSD:15:quarterly--n/a-n/a---
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.3 : devel/gmake
  3. as : devel/binutils
Library dependencies:
  1. libpq.so.5 : databases/postgresql13-client
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
databases_postgresql-plproxy
USES:
bison gmake pgsql
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://plproxy.github.io/downloads/files/2.10.0/
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.

Number of commits found: 37

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
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)
2.10.0
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)
2.10.0
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)
2.10.0
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.
2.10.0
29 Sep 2020 18:15:14
Revision:550546Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 2.10.0

- Update MASTER_SITES: use upstream release tarball

Changes:	https://github.com/plproxy/plproxy/releases
		https://plproxy.github.io/changelog.html
2.9
28 May 2020 15:20:47
Revision:536774Original commit files touched by this commit
danfe search for other commits by this committer
Sanitize COMMENT per Section 5.6 of the FreeBSD Porter's Handbook (part 8).
2.9
25 Sep 2019 20:40:03
Revision:512812Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 2.9

Changes:	https://github.com/plproxy/plproxy/blob/master/NEWS.md
		https://plproxy.github.io/changelog.html
2.8_2
19 Aug 2019 20:51:06
Revision:509332Original commit files touched by this commit
sunpoet search for other commits by this committer
Fix bison warning

src/parser.y:63.1-25: warning: deprecated directive, use '%define api.prefix
{plproxy_yy}' [-Wdeprecated]
   63 | %name-prefix="plproxy_yy"
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
2.8_2
16 Aug 2019 18:09:24
Revision:509088Original commit files touched by this commit
sunpoet search for other commits by this committer
Fix build with PostgreSQL 10 and 11
2.8_2
04 Aug 2019 16:09:59
Revision:508100Original commit files touched by this commit
sunpoet search for other commits by this committer
Remove outdated post-patch:
2.8_2
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2.8_1
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2.8
24 Jun 2018 00:54:27
Revision:473169Original commit files touched by this commit
linimon search for other commits by this committer
Workaround the following problem on aarch64 by setting LLD_UNSAFE=yes:

  cc: error: invalid linker name in argument '-fuse-ld=bfd'

Neither emaste nor I can figure out exactly where the offending stanza is
coming in.  It will take someone with more knowledge of gmake debug flags,
and possibly the src build infrastructure, to figure it out.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2.8
17 May 2018 18:29:40
Revision:470229Original commit files touched by this commit
sunpoet search for other commits by this committer
Simplify Makefile

- Update COMMENT
- Update pkg-descr
- Take maintainership
2.8
17 May 2018 09:56:55
Revision:470213Original commit files touched by this commit
tz search for other commits by this committer
Drop MAINTAINERship for these ports:

- databases/postgresql-plproxy
- devel/fpp
- devel/gnu-efi
- games/nlarn
- games/wesnoth
- mail/phpmailer
- mail/tlb
- ports-mgmt/pkg-plist
- sysutils/battray
- textproc/xml-parse.el
2.8
22 Feb 2018 12:19:27
Revision:462585Original commit files touched by this commit
tz search for other commits by this committer
databases/postgresql-plproxy: Update from 2.7 to 2.8

Changelog: https://plproxy.github.io/changelog.html
2.7
03 May 2017 12:16:49
Revision:440009Original commit files touched by this commit
mat search for other commits by this committer
Simplify USE_GITHUB usage.

Sponsored by:	Absolight
2.7
14 Mar 2017 13:46:15
Revision:436153Original commit files touched by this commit
tz search for other commits by this committer
databases/postgresql-plproxy: Update from 2.5 to 2.7

Changelog: https://plproxy.github.io/changelog.html

This adds support for PostgreSQL 9.5

Also:
- take maintainership
- change MASTERSITE to GitHub
- remove obsoleted check for PostgreSQL 9.1 (no longer in ports)
- update homepage of project

PR: 201796, 217515
2.5_1
03 Jun 2015 17:27:31
Revision:388460Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LICENSE_FILE
- Strip library
2.5
05 Dec 2014 00:30:20
Revision:373992Original commit files touched by this commit
feld search for other commits by this committer
Update "BSD" licenses in databases category
2.5
20 Oct 2014 10:41:13
Revision:371255Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
2.5
25 Aug 2014 17:53:27
Revision:366114Original commit files touched by this commit
crees search for other commits by this committer
Convert pgsql ports to use USES+=pgsql

Reviewed by:	bapt
2.5
05 Aug 2014 13:57:34
Revision:364100Original commit files touched by this commit
wg search for other commits by this committer
postgresql-plproxy: support stage and fix pkg-plist
2.5
20 Sep 2013 16:13:49
Revision:327717Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
databases)
2.5
14 Aug 2013 22:35:54
Revision:324744Original commit files touched by this commit Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
2.5
07 Jul 2013 00:15:47
Revision:322415Original commit files touched by this commit
jgh search for other commits by this committer
- convert from USE_GMAKE to USES=gmake
- trim historical headers

With hat: pgsql@
2.5
29 Apr 2013 14:21:24
Revision:316819Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 2.5

PR:		178159
Submitted by:	ports fury
2.4
22 Apr 2013 13:27:48
Revision:316230Original commit files touched by this commit
bapt search for other commits by this committer
Reassign skv@ ports to the heap

Feature safe:	yes
2.4
08 Mar 2013 11:32:12
Revision:313635Original commit files touched by this commit
bapt search for other commits by this committer
Convert USE_BISON to USES= bison

It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the
following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2.4
14 Jun 2012 19:25:00
Original commit files touched by this commit
skv search for other commits by this committer
Update to 2.4

Changes:        http://pgfoundry.org/frs/shownotes.php?release_id=1947
PR:             ports/168669
Submitted by:   Anton Yuzhaninov
2.2
27 Feb 2011 08:18:53
Original commit files touched by this commit
skv search for other commits by this committer
Update to 2.2

Changes:        http://pgfoundry.org/frs/shownotes.php?release_id=1778
2.1
09 Jul 2010 13:35:01
Original commit files touched by this commit
skv search for other commits by this committer
Update to 2.1

Changes:        http://pgfoundry.org/frs/shownotes.php?release_id=1214
                http://pgfoundry.org/frs/shownotes.php?release_id=1228
                http://pgfoundry.org/frs/shownotes.php?release_id=1284
                http://pgfoundry.org/frs/shownotes.php?release_id=1509
                http://pgfoundry.org/frs/shownotes.php?release_id=1635
2.0.5
04 Sep 2008 14:24:15
Original commit files touched by this commit
skv search for other commits by this committer
Update to 2.0.5.
2.0.2_1
19 Jun 2008 02:54:54
Original commit files touched by this commit
pav search for other commits by this committer
- This port has been BROKEN for more than 6 months.  It will be removed unless
  fixed in next two months.

With hat:       portmgr
2.0.2_1
06 Jun 2008 13:17:10
Original commit files touched by this commit
edwin search for other commits by this committer
Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2.0.2
18 Aug 2007 01:08:36
Original commit files touched by this commit
kris search for other commits by this committer
BROKEN: Does not build
2.0.2
26 Jul 2007 21:20:37
Original commit files touched by this commit
skv search for other commits by this committer
Add postgresql-plproxy 2.0.2, PL/Proxy is database partitioning system.

Number of commits found: 37