一款rust写的PostgreSQL插件管理(build、发布、安装)工具: trunk

Tue Dec 19, 2023

100 Words|Read in about 1 Min
Tags:

背景

一款rust写的PostgreSQL插件管理(build、发布、安装)工具: trunk

官网, 可搜索已集成的PostgreSQL插件
- https://pgt.dev/

开源项目
- https://github.com/tembo-io/trunk#installation

安装trunk

curl https://sh.rustup.rs -sSf | sh  
  
cargo install pg-trunk  

使用trunk安装插件例子

❯ trunk install pgmq  
Using pg_config: /usr/bin/pg_config  
Using pkglibdir: "/usr/lib/postgresql/15/lib"  
Using sharedir: "/usr/share/postgresql/15"  
Downloading from: https://cdb-plat-use1-prod-pgtrunkio.s3.amazonaws.com/extensions/pgmq/pgmq-0.5.0.tar.gz  
Dependencies: ["pg_partman"]  
Installing pgmq 0.5.0  
[+] pgmq.so => /usr/lib/postgresql/15/lib  
[+] extension/pgmq--0.5.0.sql => /usr/share/postgresql/15  
[+] extension/pgmq.control => /usr/share/postgresql/15  

See Also

Tue Dec 19, 2023

100 Words|Read in about 1 Min
Tags: