Comments (2)
Hi @olirice
Thanks for your fast replay! I have extended the uuid_generate_v*
references with the extensions prefix and everything is working as expected now - an easy change once you know where to. I was confuse as select uuid_generate_v4();
(also without prefix) worked as expected. Further I have some own functions using uuid_generate_v4()
as well, also without prefix...
May it would be good to have this mentioned somewhere in README.md.
Best an tx again
from supa_audit.
hi @mableu
supabase installs uuid-ossp
in the extensions
schema i.e. extensions.uuid_generate_v4
. The reason you're seeing this is because, in supa_audit, we don't explicitly specify the schema prefix on those function calls. That decision is intentional, so supa_audit can be compatible with installing uuid-ossp
anywhere in the database so long as the it is on the executing postgres roles' search_path
.
The knobs to manipulate search_path
for different roles are available to you on the platform, but the safest & most reliable solution would be to update the 2 references to uuid_generate_v*
to include the schema prefix extensions.uuid_generate_v*
in the supa_audit SQL file here
let me know if that gives you any trouble
from supa_audit.
Related Issues (20)
- make install fails HOT 10
- Cloud version HOT 4
- Scaling the audit table HOT 6
- Who made a given change HOT 2
- Make Install error with llvm
- 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
- 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
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.