Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkabilov/bgworker
PostgreSQL background worker written in Golang
https://github.com/mkabilov/bgworker
background-worker golang postgresql
Last synced: 12 days ago
JSON representation
PostgreSQL background worker written in Golang
- Host: GitHub
- URL: https://github.com/mkabilov/bgworker
- Owner: mkabilov
- Created: 2018-03-16T20:49:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-04T13:56:37.000Z (over 5 years ago)
- Last Synced: 2023-03-01T10:36:02.335Z (almost 2 years ago)
- Topics: background-worker, golang, postgresql
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bgworker
Experiments with PostgreSQL background worker written in golang## Build
```
make
make install
```## Load
add "go_background_worker" to `shared_preload_libraries` in your postgresql config file:
```
shared_preload_libraries = 'go_background_worker' # (change requires restart)
```restart postgresql
## Check the logs
you should see following message appearing every 5 seconds:
```
LOG: Go: Hello world
```