Comments (4)
Those are the trigger that are required to implement instant propagations of the configs:
CREATE FUNCTION "notify_config_change" ()
RETURNS TRIGGER AS $$
BEGIN
PERFORM pg_notify('notify_config_change', NEW.name::text);
RETURN NEW;
END;
$$ LANGUAGE PLPGSQL;
CREATE TRIGGER "notify_config_change"
AFTER INSERT OR UPDATE ON "config"
FOR EACH ROW
EXECUTE FUNCTION "notify_config_change" ();
CREATE FUNCTION "notify_global_setting_change" ()
RETURNS TRIGGER AS $$
BEGIN
PERFORM pg_notify('notify_global_setting_change', NEW.name::text);
RETURN NEW;
END;
$$ LANGUAGE PLPGSQL;
CREATE TRIGGER "notify_global_setting_change"
AFTER INSERT OR UPDATE ON "global_settings"
FOR EACH ROW
EXECUTE FUNCTION "notify_global_setting_change" ();
you could try running them by hand in psql and check that indeed aurora doesn't support it
from windmill-helm-charts.
What version of postgres or cloud are you using ? It sounds like your database doesn't support trigger for some reasons
from windmill-helm-charts.
Thanks for you reply,
I m using AWS RDS Aurora PostgreSQL 13.8
from windmill-helm-charts.
Ok it works after upgrading to Postgre 14.5 ! CREATE OR REPLACE TRIGGER works only starting Aurora Postgresql 14.
Thanks !
from windmill-helm-charts.
Related Issues (20)
- Setup gh-action to host chart in gh-pages HOT 1
- "enableOauth" is missing from default values and documentation HOT 2
- Allow configuring relevant Kubernetes overrides HOT 3
- Add minio as optional dependency
- Wrong indentation for resources block
- External database missing role setup HOT 3
- Unable to pass http_proxy environment variables to windmill scripts HOT 13
- serviceAccount annotations missing
- Configure postgres credentials to be secret HOT 2
- Enabling exposeHostDocker: true adds duplicate volumes key HOT 1
- Better secrets control HOT 2
- Error: UPGRADE FAILED: parse error at (windmill/templates/dedicated-workers.yaml:132): unexpected EOF HOT 3
- Error: UPGRADE FAILED: failed to create resource: Deployment.apps "windmill-workers-dedicated-mydedicatedWorker" is invalid: HOT 3
- windmill multiplayer is enabled in the Ingress even if enterprise mode is disabled HOT 1
- Init Script in not available in the Worker Management UI HOT 4
- Image Pullsecret for custom private Docker image not available
- Typo in template file cause error in deploy HOT 1
- Allow adding extra labels to Deployments made by the chart
- Wrong appVersion in Chart.yaml 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 windmill-helm-charts.