Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
postgresql-pgaudit PostgreSQL Audit Extension
18.0_1 databases Σ=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 18.0Version of this port present on the latest quarterly branch. upstream: 19.0A newer version was found upstream by portscout, first on 2026-11-18.
Maintainer: gehaowu@bitmoe.com search for ports maintained by this maintainer
Port Added: 2023-05-09 06:39:08
Last Update: 2026-11-12 14:12:38
Commit Hash: b0e25d5
License: PostgreSQL
WWW:
https://www.pgaudit.org/
Description: #
PostgreSQL Audit Extension (pgAudit) provides detailed session and/or object audit logging via the standard PostgreSQL logging facility.
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 (7 items)
Collapse this list.
  1. lib/postgresql/pgaudit.so
  2. share/postgresql/extension/pgaudit--18.0.sql
  3. share/postgresql/extension/pgaudit.control
  4. /usr/local/share/licenses/postgresql18-pgaudit-18.0_1/catalog.mk
  5. /usr/local/share/licenses/postgresql18-pgaudit-18.0_1/LICENSE
  6. /usr/local/share/licenses/postgresql18-pgaudit-18.0_1/PostgreSQL
  7. share/sbom/pc/postgresql18-pgaudit.pc
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • postgresql18-pgaudit>0:databases/postgresql-pgaudit
To install the port: #
cd /usr/ports/databases/postgresql-pgaudit/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/postgresql-pgaudit
  • pkg install postgresql18-pgaudit
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql18-pgaudit
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1772421265 SHA256 (pgaudit-pgaudit-18.0_GH0.tar.gz) = 988e8afeda320ebe0a3e632ef6b6bce5d3a08346c2e100a173a585c9521d1fa5 SIZE (pgaudit-pgaudit-18.0_GH0.tar.gz) = 47346

Packages (timestamps in pop-ups are UTC): #
postgresql17-pgaudit
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---16.0-
FreeBSD:14:quarterly---16.0-
FreeBSD:15:latest--n/a16.0n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 

postgresql18-pgaudit
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest18.018.0_1--18.0_1
FreeBSD:14:quarterly18.018.0--18.0
FreeBSD:15:latest18.0_118.0_1n/a-n/a
FreeBSD:15:quarterly18.018.0n/a-n/a
FreeBSD:16:latest18.018.0_1n/a-n/a
 

Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. gmake>=4.4.1 : devel/gmake
  2. postgres : databases/postgresql18-server
Runtime dependencies: #
  1. postgres : databases/postgresql18-server
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
databases_postgresql-pgaudit
USES: #
gmake pgsql:18
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/pgaudit/pgaudit/tar.gz/18.0?dummy=/
Collapse this list.
Notes from UPDATING #
These upgrade notes are taken from /usr/ports/UPDATING
  • 2026-03-01
    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 17 to 18.
      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 17, your
      files are named according to this.
    
      # service postgresql stop
      # pkg create postgresql17-server postgresql17-contrib
      # mkdir /tmp/pg-upgrade
      # tar xf postgresql17-server-17.9.pkg -C /tmp/pg-upgrade
      # tar xf postgresql17-contrib-17.9.pkg -C /tmp/pg-upgrade
      # pkg delete -f databases/postgresql17-server databases/postgresql17-contrib databases/postgresql17-client
    
      Now update PostgreSQL:
    
        pkg user:
        # pkg install databases/postgresql18-server databases/postgresql18-contrib
        # pkg upgrade
    
        Portmaster users:
        # portmaster databases/postgresql18-server databases/postgresql18-contrib
        # portmaster -a
    
        Portupgrade users:
        # portinstall databases/postgresql18-server databases/postgresql18-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 --no-data-checksums -D /var/db/postgres/data18 -U postgres"
      # su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data17/ -B /usr/local/bin/ -D /var/db/postgres/data18/ -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
      2) The initdb in the upgrade procedure uses '--no-data-checksums' to enable
      pg_upgrade from before this change.  You should review the documentation and
      decide whether you want to then enable checksums with pg_checksums.  Future
      upgrade instructions for PostgreSQL 19 and later will assume a default
      initdb, and therefore that checksums are enabled.
    
    
Expand this list (4 items)
  • 2025-05-06
    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 16 to 17.
      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 16, your
      files are named according to this.
    
      # service postgresql stop
      # pkg create postgresql16-server postgresql16-contrib
      # mkdir /tmp/pg-upgrade
      # tar xf postgresql16-server-16.8.pkg -C /tmp/pg-upgrade
      # tar xf postgresql16-contrib-16.8.pkg -C /tmp/pg-upgrade
      # pkg delete -f databases/postgresql16-server databases/postgresql16-contrib databases/postgresql16-client
    
      Now update PostgreSQL:
    
        pkg user:
        # pkg install databases/postgresql17-server databases/postgresql17-contrib
        # pkg upgrade
    
        Portmaster users:
        # portmaster databases/postgresql17-server databases/postgresql17-contrib
        # portmaster -a
    
        Portupgrade users:
        # portinstall databases/postgresql17-server databases/postgresql17-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/data17 -U postgres"
      # su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data16/ -B /usr/local/bin/ -D /var/db/postgres/data17/ -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
    
    
  • 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
    
    
  • 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) 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) If you use non-default initdb options, you have to adjust the initdb-command accordingly
    
    
  • Collapse this list.

Number of commits found: 4 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
18.0_1
12 Nov 2026 14:12:38
commit hash: b0e25d50ad8212b0829f802e35183b84e4586411commit hash: b0e25d50ad8212b0829f802e35183b84e4586411commit hash: b0e25d50ad8212b0829f802e35183b84e4586411commit hash: b0e25d50ad8212b0829f802e35183b84e4586411 files touched by this commit
Palle Girgensohn (girgen) search for other commits by this committer
*/*: Bump PORTREVISION for postgresql-server dependant ports

All ports depending on postgreql-server require a rebuild after
postgresql-server is upgraded to reflect security fixes.

Security:	1a672925-de93-11f1-9824-6cc21735f730
18.0
02 Mar 2026 03:33:28
commit hash: c22afb92f7f71ff4ce038160a1e7a80a930577bacommit hash: c22afb92f7f71ff4ce038160a1e7a80a930577bacommit hash: c22afb92f7f71ff4ce038160a1e7a80a930577bacommit hash: c22afb92f7f71ff4ce038160a1e7a80a930577ba files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
databases/postgres-pgaudit: Update to 18.0

PR:		292447
Approved by:	maintainer timeout
16.0
23 Jul 2024 16:32:06
commit hash: 6e467f1d3d01b4677b0b1157b0dfd2f6fd5b0471commit hash: 6e467f1d3d01b4677b0b1157b0dfd2f6fd5b0471commit hash: 6e467f1d3d01b4677b0b1157b0dfd2f6fd5b0471commit hash: 6e467f1d3d01b4677b0b1157b0dfd2f6fd5b0471 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
databases/postgresql-pgaudit: Update to 16.0

PR:		279192
Approved by:	maintainer timeout
1.7.0
09 May 2023 06:36:26
commit hash: 44da8f9536eabe9bfd8d4b8c01a3d8ffe44868b2commit hash: 44da8f9536eabe9bfd8d4b8c01a3d8ffe44868b2commit hash: 44da8f9536eabe9bfd8d4b8c01a3d8ffe44868b2commit hash: 44da8f9536eabe9bfd8d4b8c01a3d8ffe44868b2 files touched by this commit
Wen Heping (wen) search for other commits by this committer
databases/postgresql-pgaudit: New port

PostgreSQL Audit Extension (pgAudit) provides detailed session and/or
object audit logging via the standard PostgreSQL logging facility.
PR:		268198
Reported by:	gehaowu@bitmoe.com

Number of commits found: 4