Experiments with PostgreSQL background worker written in golang
make
make install
add "go_background_worker" to shared_preload_libraries
in your postgresql config file:
shared_preload_libraries = 'go_background_worker' # (change requires restart)
restart postgresql
you should see following message appearing every 5 seconds:
LOG: Go: Hello world