⚠️ WARNING
The ordering of listed projects or documents is random and has no connection to relevance or maturity levels!
Extension | Description |
---|---|
pgaudit |
Postgres auditing extension |
Just a small gist to show how you can easily create a Rust shared lib, wrap it with C and call it from PostgreSQL SQL Command.
- Prereq : Tested on Ubuntu 18, GCC, postgresql-server-11, postgresql-dev-11, rustlang
- Create new project Cargo embed and cd embed
- Rename the file src/main.rs to lib.rs
- Add following code
#[no_mangle]
pub extern fn double_input(input: i32) -> i32 {
input * 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .ebextensions/99datadog.config | |
container_commands: | |
01chmod: | |
command: "chmod +x .ebextensions/datadog/hooks/*" | |
02mkdir_appdeploy_post: | |
test: '[ ! -d /opt/elasticbeanstalk/hooks/appdeploy/post ]' | |
command: "mkdir /opt/elasticbeanstalk/hooks/appdeploy/post" | |
02mkdir_configdeploy_post: | |
test: '[ ! -d /opt/elasticbeanstalk/hooks/configdeploy/post ]' | |
command: "mkdir /opt/elasticbeanstalk/hooks/configdeploy/post" |