pgaudit.git / summary / log / commit / refs

commit    1930790e4bd07171b54a35890a117fe32ddcab7b
Author:   David Steele <david@pgmasters.net>
Date:     Mon Jun 13 20:11:51 2022 +0000

    Documentation updates missed in PostgreSQL 14 release.


README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9eae6a4..dab8e99 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ To limit the number of relations audit logged for `SELECT` and `DML` statements, pgAudit was developed to support PostgreSQL 9.5 or greater. -In order to support new functionality introduced in each PostgreSQL release, pgAudit maintains a separate branch for each PostgreSQL major version (currently PostgreSQL 9.5 - 11) which will be maintained in a manner similar to the PostgreSQL project. +In order to support new functionality introduced in each PostgreSQL release, pgAudit maintains a separate branch for each PostgreSQL major version (currently PostgreSQL 9.5 - 14) which will be maintained in a manner similar to the PostgreSQL project. Aside from bug fixes, no further development is planned for stable branches. New development, if any, will be strictly for next unreleased major version of PostgreSQL. @@ -84,13 +84,13 @@ Change to pgAudit directory: ``` cd pgaudit ``` -Checkout `REL_13_STABLE` branch (note that the stable branch may not exist for unreleased versions of PostgreSQL): +Checkout `REL_14_STABLE` branch (note that the stable branch may not exist for unreleased versions of PostgreSQL): ``` -git checkout REL_13_STABLE +git checkout REL_14_STABLE ``` Build and install pgAudit: ``` -make install USE_PGXS=1 PG_CONFIG=/usr/pgsql-13/bin/pg_config +make install USE_PGXS=1 PG_CONFIG=/usr/pgsql-14/bin/pg_config ``` Instructions for testing and development may be found in `test`. @@ -100,7 +100,7 @@ Settings may be modified only by a superuser. Allowing normal users to change th Settings can be specified globally (in `postgresql.conf` or using `ALTER SYSTEM ... SET`), at the database level (using `ALTER DATABASE ... SET`), or at the role level (using `ALTER ROLE ... SET`). Note that settings are not inherited through normal role inheritance and `SET ROLE` will not alter a user's pgAudit settings. This is a limitation of the roles system and not inherent to pgAudit. -The pgAudit extension must be loaded in [shared_preload_libraries](http://www.postgresql.org/docs/13/runtime-config-client.html#GUC-SHARED-PRELOAD-LIBRARIES). Otherwise, an error will be raised at load time and no audit logging will occur. +The pgAudit extension must be loaded in [shared_preload_libraries](http://www.postgresql.org/docs/14/runtime-config-client.html#GUC-SHARED-PRELOAD-LIBRARIES). Otherwise, an error will be raised at load time and no audit logging will occur. In addition, `CREATE EXTENSION pgaudit` must be called before `pgaudit.log` is set to ensure proper pgaudit functionality. The extension installs event triggers which add additional auditing for DDL. pgAudit will work without the extension installed but DDL statements will not have information about the object type and name. @@ -146,7 +146,7 @@ The default is `off`. ### pgaudit.log_level -Specifies the log level that will be used for log entries (see [Message Severity Levels](http://www.postgresql.org/docs/13/runtime-config-logging.html#RUNTIME-CONFIG-SEVERITY-LEVELS) for valid levels) but note that `ERROR`, `FATAL`, and `PANIC` are not allowed). This setting is used for regression testing and may also be useful to end users for testing or other purposes. +Specifies the log level that will be used for log entries (see [Message Severity Levels](http://www.postgresql.org/docs/14/runtime-config-logging.html#RUNTIME-CONFIG-SEVERITY-LEVELS) for valid levels) but note that `ERROR`, `FATAL`, and `PANIC` are not allowed). This setting is used for regression testing and may also be useful to end users for testing or other purposes. Note that `pgaudit.log_level` is only enabled when `pgaudit.log_client` is `on`; otherwise the default will be used. @@ -353,7 +353,7 @@ Audit entries are written to the standard logging facility and contain the follo - **PARAMETER** - If `pgaudit.log_parameter` is set then this field will contain the statement parameters as quoted CSV or `<none>` if there are no parameters. Otherwise, the field is `<not logged>`. -Use [log_line_prefix](http://www.postgresql.org/docs/13/runtime-config-logging.html#GUC-LOG-LINE-PREFIX) to add any other fields that are needed to satisfy your audit log requirements. A typical log line prefix might be `'%m %u %d [%p]: '` which would provide the date/time, user name, database name, and process id for each audit log. +Use [log_line_prefix](http://www.postgresql.org/docs/14/runtime-config-logging.html#GUC-LOG-LINE-PREFIX) to add any other fields that are needed to satisfy your audit log requirements. A typical log line prefix might be `'%m %u %d [%p]: '` which would provide the date/time, user name, database name, and process id for each audit log. ## Caveats [parent: 02d3dfd91ba9]