Port details |
- postgresql-pgaudit PostgreSQL Audit Extension
- 16.0 databases
=2 16.0Version of this port present on the latest quarterly branch. - Maintainer: gehaowu@bitmoe.com
 - Port Added: 2023-05-09 06:39:08
- Last Update: 2024-07-23 16:32:06
- Commit Hash: 6e467f1
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- postgresql16-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 postgresql16-pgaudit
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: postgresql16-pgaudit
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1716274817
SHA256 (pgaudit-pgaudit-16.0_GH0.tar.gz) = d53ef985f2d0b15ba25c512c4ce967dce07b94fd4422c95bd04c4c1a055fe738
SIZE (pgaudit-pgaudit-16.0_GH0.tar.gz) = 45747
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- postgres : databases/postgresql16-server
- Runtime dependencies:
-
- postgres : databases/postgresql16-server
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- databases_postgresql-pgaudit
- USES:
- gmake pgsql:16+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
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
|
Number of commits found: 2
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
16.0 23 Jul 2024 16:32:06
    |
Kevin Bowling (kbowling)  |
databases/postgresql-pgaudit: Update to 16.0
PR: 279192
Approved by: maintainer timeout |
1.7.0 09 May 2023 06:36:26
    |
Wen Heping (wen)  |
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: 2
|