https://github.com/supabase/pgextkit
https://github.com/supabase/pgextkit
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/supabase/pgextkit
- Owner: supabase
- License: postgresql
- Archived: true
- Created: 2022-10-18T06:35:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T14:47:01.000Z (over 3 years ago)
- Last Synced: 2025-03-20T08:07:00.285Z (over 1 year ago)
- Language: Rust
- Size: 38.1 KB
- Stars: 4
- Watchers: 27
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Postgres Extension Kit
This extension allows PostgreSQL extensions to dynamically acquire shared memory as well as start background workers.
This allows extensions to start at any time during the lifetime of the server.
This also means can be upgraded without restarting the database server.
*This extension is in its early stages of development and is not guaranteed to be stable*
## Building from source
```shell
PG_VERSION=pg15 cargo pgx run --features extension
```
(Change `pg15` to the required version accordingly)
## Installation
This extension needs to be added to `shared_preload_libraries` setting of PostgreSQL. Extensions that depend on it,
should specify it in the list of requirements. Upon the completion of the SQL queries of those extensions it is recommended
that they call `pgexkit.load('extname', 'version')` to load themselves.