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) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
postgresql-relay Multiplex multiple PostgreSQL databases to one relay
1.3.2_2 databases on this many watch lists=3 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 1.3.2_1Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2004-02-13 06:50:53
Last Update: 2024-01-08 16:30:29
Commit Hash: 28cfe20
People watching this port, also watch:: postgresql-libpqxx, postgresql-odbc
Also Listed In: net
License: BSD2CLAUSE
WWW:
https://www.mavetju.org/unix/general.php
Description:
postgresql-relay can be used to as a single point of origin for all your databases. Instead of having to remember (or modify in case of changes) all the names of your databases, on which machines and on which ports they are running, you only need to remember one machine and the name of the database. The postgresql-relay will then forward the connection to the proper database on the proper port of the proper server. No more changes in the hundreds of clients and scripts!
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 (6 items)
Collapse this list.
  1. bin/postgresql-relay
  2. etc/postgresql-relay.conf-sample
  3. share/man/man8/postgresql-relay.8.gz
  4. /usr/local/share/licenses/postgresql-relay-1.3.2_2/catalog.mk
  5. /usr/local/share/licenses/postgresql-relay-1.3.2_2/LICENSE
  6. /usr/local/share/licenses/postgresql-relay-1.3.2_2/BSD2CLAUSE
Collapse this list.
Dependency lines:
  • postgresql-relay>0:databases/postgresql-relay
To install the port:
cd /usr/ports/databases/postgresql-relay/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/postgresql-relay
  • pkg install postgresql-relay
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql-relay
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (postgresql-relay-1.3.2.tar.gz) = 2a0778ecc06d3006c60771fb6bd152c8e80abde47aa65e87d91dc15cbaf8a89a SIZE (postgresql-relay-1.3.2.tar.gz) = 9470

Packages (timestamps in pop-ups are UTC):
postgresql-relay
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.3.2_21.3.2_21.3.2_11.3.2_21.3.2_2-1.3.2_1-
FreeBSD:13:quarterly1.3.2_11.3.2_11.3.2_11.3.2_11.3.2_11.3.2_11.3.2_11.3.2_1
FreeBSD:14:latest1.3.2_21.3.2_21.3.2_11.3.2_21.3.2_21.3.2_1-1.3.2_1
FreeBSD:14:quarterly1.3.2_11.3.2_1-1.3.2_11.3.2_11.3.2_11.3.2_11.3.2_1
FreeBSD:15:latest1.3.2_21.3.2_2n/a1.3.2_2n/a1.3.2_21.3.2_21.3.2_2
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. perl5>=5.36<5.37 : lang/perl5.36
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
databases_postgresql-relay
USES:
perl5
pkg-message:
For install:
Databases/postgresql-relay now supports rc.subr. Please add 'postgresqlrelay_enable="YES"' to your /etc/rc.conf to make it start autoamtically at startup.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. http://www.mavetju.org/download/
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: 29

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.3.2_2
08 Jan 2024 16:30:29
commit hash: 28cfe20550b8d64ee918cbfcf4fe5a3278650819commit hash: 28cfe20550b8d64ee918cbfcf4fe5a3278650819commit hash: 28cfe20550b8d64ee918cbfcf4fe5a3278650819commit hash: 28cfe20550b8d64ee918cbfcf4fe5a3278650819 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MANPREFIX: eleminate its usage and move man to share/man
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)
1.3.2_1
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)
1.3.2_1
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)
1.3.2_1
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
1.3.2_1
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.
1.3.2_1
13 Aug 2019 16:01:59
Revision:508835Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories d)
1.3.2_1
23 Nov 2016 15:17:10
Revision:426937Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add LICENSE
- Pet portlint
1.3.2_1
16 Nov 2016 22:55:39
Revision:426269Original commit files touched by this commit
rene search for other commits by this committer
Reset edwin's ports, he has handed in his commit bit.

With hat:	portmgr-secretary
1.3.2_1
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
1.3.2_1
26 Feb 2014 06:40:44
Revision:346109Original commit files touched by this commit
ehaupt search for other commits by this committer
Support staging
1.3.2_1
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)
1.3.2_1
10 Sep 2013 13:50:14
Revision:326901Original commit files touched by this commit
az search for other commits by this committer
- convert to the new perl5 framework
- trim Makefile header

Approved by:	portmgr (bapt@, blanket)
1.3.2_1
14 Jan 2012 08:57:23
Original commit files touched by this commit
dougb search for other commits by this committer
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
1.3.2_1
22 Oct 2011 23:50:23
Original commit files touched by this commit
eadler search for other commits by this committer
- remove maintainer tags from pkg-descr

Approved by:    portmgr
Approved by:    bapt (mentor)
1.3.2_1
20 Mar 2011 12:54:45
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
1.3.2_1
27 Mar 2010 00:15:24
Original commit files touched by this commit
dougb search for other commits by this committer
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
1.3.2_1
17 Jul 2009 18:38:22
Original commit files touched by this commit
pgollucci search for other commits by this committer
- USE_RC_SUBR != yes
  (rename .sh -> .in)

PR:             ports/136839
Approved by:    maintainer
Submitted by:   myself (pgollucci@)
1.3.2
02 Sep 2006 08:18:37
Original commit files touched by this commit
edwin search for other commits by this committer
Update to version 1.3.2:

        - fix creation of pid file
        - don't use non-reentrant functions in signal handlers
1.3.1
04 May 2006 21:41:12
Original commit files touched by this commit
edwin search for other commits by this committer
Remove USE_REINPLACE from all categories starting with D
1.3.1
01 Apr 2006 11:57:25
Original commit files touched by this commit
edwin search for other commits by this committer
Use SUB_FILES
1.3.1
20 Feb 2006 20:47:50
Original commit files touched by this commit
dougb search for other commits by this committer
Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
1.3.1
08 Nov 2005 21:45:49
Original commit files touched by this commit
edwin search for other commits by this committer
Add SHA256 checksums to the distinfo files.
1.3.1
14 Dec 2004 06:22:46
Original commit files touched by this commit
edwin search for other commits by this committer
pod2man is part of perl5, so make it a build dependency.
Noticed by: kris, pointyhat
1.3.1
13 Dec 2004 05:51:35
Original commit files touched by this commit
edwin search for other commits by this committer
also add a note to pkg-message about it.
1.3.1
13 Dec 2004 05:49:53
Original commit files touched by this commit
edwin search for other commits by this committer
Uograde to version 1.3.1, with rc.subr support.
1.3
21 Mar 2004 04:51:34
Original commit files touched by this commit
edwin search for other commits by this committer
Update databases/postgresql-relay to version 1.3

        Added support for tcpwrappers.

Submitted by:   edwin@mavetju.og
1.2.1
03 Mar 2004 02:15:25
Original commit files touched by this commit
edwin search for other commits by this committer
Upgrade to 1.2.1

        - fix "Starting server for port 0" problem
1.2
13 Feb 2004 06:50:09
Original commit files touched by this commit
edwin search for other commits by this committer
New port: databases/postgresql-relay

        postgresql-relay - multiplex all your databases to one point
        of origin

        postgresql-relay can be used to as a single point of origin
        for all your databases. Instead of having to remember (or
        modify in case of changes) all the names of your databases,
        on which machines and on which ports they are running, you
        only need to remember one machine and the name of the
        database. The postgresql-relay will then forward the
        connection to the proper database on the proper port of the
        proper server. No more changes in the hundreds of clients
        and scripts!

Number of commits found: 29