Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zcaudate/hello-world-pgrx
a sample pgrx extension for postgres
https://github.com/zcaudate/hello-world-pgrx
Last synced: 25 days ago
JSON representation
a sample pgrx extension for postgres
- Host: GitHub
- URL: https://github.com/zcaudate/hello-world-pgrx
- Owner: zcaudate
- Created: 2024-06-17T18:24:05.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-17T18:26:41.000Z (8 months ago)
- Last Synced: 2024-11-14T12:47:33.153Z (3 months ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-world-pgrx
This project follows instructions on https://github.com/pgcentralfoundation/pgrx/blob/develop/cargo-pgrx/README.md for generating a sample extension and testing it on postgres.
Usage:
```
select hello_hello_world_pgrx('hello');
=> 1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac8select hello_hello_world_pgrx('hello worldoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo');
=> e534b0e4446bbccddf7d35facd71686dd2594e52c89f4609156be762d793102a
```