Comments (10)
I was not able to recreate this error
Here's the output for me (macOS 12.2.1, postgres 14.2 installed via brew)
Please note that supa_audit
is a postgres 13+ extension only. If you could create a reproducible case against 13+ in a docker container (or other reproducible env) I'd be happy to help you debug
Also, you may want to add some requisites for this, namely, that the PG development package needs to be installed first.
The readme assumes some familiarity with installing postgres extensions and skips the default requirements but if you'd like to update the readme with more complete install instructions I'm game to merge it!
from supa_audit.
Wow, didn't know it is only for PG13! Why is that?
from supa_audit.
it is currently compatible with 12 but we're targeting 13+ to keep the maintenance burden down for future updates
from supa_audit.
What breaks in v11 or v10?
from supa_audit.
I actually tested it successfully for v11. It does break for v10 though.
Also, please add as a pre-requisite for installing that you need the PG development package installed beforehand. For CentOS it is something like this: postgresql13-devel.x86_64
I would suggest you make it supportable for V11+ since it works for all of them now.
Back to the original issue, make install error:
There is no error when compiling for PG v13, just for v11 and v12. Although both v11 and v12 work since it successfully copied the extension to the PG extension directory.
just that weird error where it is trying to do another mkdir -p without specifying a target directory.
from supa_audit.
I would suggest you make it supportable for V11+ since it works for all of them now.
you're welcome to use it on 11 and 12 at your own risk but we're going to stick with only officially supporting 13+ to avoid unknown issues like the make install
problem you're currently seeing against pg 12
from supa_audit.
wish I was a make expert so i could figure out how or why that mkdir without a target is happening. Probably something easy to fix and the fix would seem to be worth being able to say this tool supports v11+. But again, it does everything its supposed to do even with the error.
from supa_audit.
I updated my distro, yum update. Ran the make install again for versions 11,12 13 and this time I did not get any make install errors! Don't ask me why.
Do you think you could now relent and make this tool supportable for versions 11+? There are tons of folks that wont be on v13 for years. Tools are very appealing when they support most of the Supported Versions of PG. I want to convince some of my clients to use this tool for auditing. But they are on older, but still supported, versions of PG.
I understand why you might not want to support v10 since it would require a major rewrite since it does not work as currently coded.
from supa_audit.
Hey Michael-we're unlikely to take on the burden of officially supporting PG11/12 for this extension at this time.
from supa_audit.
by the way i am getting that same make install error again, but if do this, it doesnt error out:
make install USE_PGXS=1 with_llvm=no
from supa_audit.
Related Issues (20)
- How can I use this extension for foreign tables since primary key constraints are not supported on foreign tables . HOT 4
- Triggers should be `after`
- Record the `application_name` connection parameter HOT 1
- Enable auditing, but ignore specific columns HOT 1
- v0.2.0 make, cannot stat './/supa_audit--0.1.0.sql' HOT 7
- ERROR: function uuid_generate_v4() does not exist (SQLSTATE 42883) HOT 2
- How can we use this extension when primary key is already in UUID format? HOT 2
- Include user who made change (assuming a system where every user also has a postgres role) HOT 1
- Does not install on Supabase unless `extensions` schema on search_path HOT 1
- Fails on insert in a table when the inserted row is as a result of auth.users trigger HOT 1
- Error when selecting the "Server Error" filter on Auth audit logging HOT 1
- Audit table cannot be backed up HOT 2
- Applying extension via migrations not working for 0.3.1 HOT 1
- running 0.3.1 standalone SQL file throws error HOT 1
- Add supa_audit to extensions lib HOT 1
- Can't copy & paste supa_audit--0.3.1.sql to create the extension anymore HOT 3
- Error when running script HOT 1
- Audit Selects / Reads HOT 1
- A version that shows changes (diff) made by UPDATE operations. HOT 2
- Why I am getting this error on insert - record "old" is not assigned yet ? HOT 3
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 supa_audit.