Comments (2)
If you figured it out it could you post the solution here? Might be helpful to somebody else in the future.
from pgaudit.
Sure thing.
What I did wrong was to try to run make using the postgresql config file instead of the pg_config binary. Once I changed that, it all worked like a charm. The following code works (tested) on os x (13.6) using a typical postgresql 14 installation using homebrew.
git clone https://github.com/pgaudit/pgaudit.git
cd pgaudit
git checkout REL_14_STABLE
make install USE_PGXS=1 PG_CONFIG=/usr/local/Cellar/postgresql@14/14.11_1/bin/pg_config
create extension pgaudit;
to find out where your pg_config bin is, use "brew info postgresql" and suffix with /bin/pg_config. don't forget to add pgaudit to your "shared_preload_libraries" parameter in the conf file. to find out where your conf file is, run "show config_file;" in SQL (e.g. pgadmin).
from pgaudit.
Related Issues (20)
- Audit log csv by pgaudit version 1.6.2 has 3 extra columns HOT 11
- SegV error from log_select_dml() HOT 5
- Help: How to save logs into database?
- password visible during create user and grant role simultaneously via pgadmin HOT 15
- PostgreSQL 16 support HOT 11
- log_catalog is off, but still some catalog SQL is logged HOT 3
- Unable to find required files
- Bad search_path in extension script HOT 2
- Unable to install pgaudit on RHEL 8
- Pgaudit make command fails for REL_13_STABLE
- Connection Drop and PgAudit disabled HOT 5
- Exclude role/user in auditing when superuser role is not available HOT 1
- PgAudit stack is not empty HOT 1
- Multiple errors : Generating during creation of pgaudit.dll
- number of effected rows HOT 1
- Redirect audit output HOT 1
- Need only Object Audit Logging in audit logs HOT 3
- fine grained auditing based on uers
- When enabling pgaudit.log_rows parameter, Object Audit Logging feature does not work on COPY statement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgaudit.