[PostGIS] #5611: Remove the workaround for pgaudit being too verbose.

PostGIS trac at osgeo.org
Wed Nov 15 05:48:53 PST 2023


#5611: Remove the workaround for pgaudit being too verbose.
--------------------------+---------------------------
  Reporter:  mnencia      |      Owner:  pramsey
      Type:  enhancement  |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 3.4.1
 Component:  postgis      |    Version:  3.4.x
Resolution:               |   Keywords:
--------------------------+---------------------------
Description changed by mnencia:

Old description:

> In 1a90fe80 as a fix for #5076 you added a check to stop the installation
> of postgis extension if pgaudit is installed and logging.
>
> However, pgaudit fixed the issue in the Feb 25, 2022 release. Current
> versions of pgaudit don't log any statement issued during the create
> extension execution. (See
> https://github.com/pgaudit/pgaudit/commit/6460d9fec78c344245c70309551bb314415268a8)
>
> We should remove the pgaudit check or limit it to too old versions.

New description:

 As a solution for issue #5076, a check was added to prevent the
 installation of the postgis extension if pgaudit is installed and logging.

 However, the pgaudit maintainers fixed the issue in the Feb 25, 2022
 release.

 Current versions of pgaudit don't log any statement issued during the
 create extension execution.
 (See
 https://github.com/pgaudit/pgaudit/commit/6460d9fec78c344245c70309551bb314415268a8)

 I suggest that we either remove the pgaudit check or limit it to older
 versions only.

--
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5611#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list